Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
ad2ea3d
Annotate src
maxkoshevoi Aug 14, 2021
04bc30b
Annotate ref
maxkoshevoi Aug 14, 2021
65f47b2
Add net6 to Configuration.Abstractions
maxkoshevoi Aug 14, 2021
44d0ac0
Fix tests
maxkoshevoi Aug 14, 2021
1226d7e
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 15, 2021
07cc6a8
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 15, 2021
802a753
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 16, 2021
051b15b
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Aug 26, 2021
5a7a6d3
DisableImplicitAssemblyReferences
maxkoshevoi Aug 26, 2021
9bde07c
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Sep 8, 2021
4945112
TryGet can return null
maxkoshevoi Sep 16, 2021
330dc3a
Merge branch 'main' into mk/43605-Configuration
maxkoshevoi Sep 16, 2021
f320ed0
new()
maxkoshevoi Sep 16, 2021
7cbd323
Merge remote-tracking branch 'upstream/main' into mk/43605-Configuration
eerhardt Oct 6, 2021
b9a0a93
Fix merge error
eerhardt Oct 6, 2021
e5228aa
InvalidOperationException
maxkoshevoi Oct 7, 2021
1c583ec
Source.Stream DisallowNull
maxkoshevoi Oct 7, 2021
a45a821
Revert unnecessary changes
maxkoshevoi Oct 8, 2021
d33438a
More message into resources
maxkoshevoi Oct 8, 2021
2ca692a
Configuration DisallowNull
maxkoshevoi Oct 8, 2021
4813528
MaybeNullWhen(false)
maxkoshevoi Oct 8, 2021
581c024
Revert "MaybeNullWhen(false)"
maxkoshevoi Oct 8, 2021
ff9af93
Remove MaybeNullWhen
maxkoshevoi Oct 11, 2021
3790ba6
NotNullWhen
maxkoshevoi Oct 11, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Source.Stream DisallowNull
  • Loading branch information
maxkoshevoi committed Oct 7, 2021
commit 1c583ecef83e9e3e22f0c7d90fc8f14416cb3ee7
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ public override void Load() { }
public abstract partial class StreamConfigurationSource : Microsoft.Extensions.Configuration.IConfigurationSource
{
protected StreamConfigurationSource() { }
public System.IO.Stream Stream { get { throw null; } set { } }
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.IO.Stream? Stream { get { throw null; } set { } }
public abstract Microsoft.Extensions.Configuration.IConfigurationProvider Build(Microsoft.Extensions.Configuration.IConfigurationBuilder builder);
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Diagnostics.CodeAnalysis;
using System.IO;

namespace Microsoft.Extensions.Configuration
Expand All @@ -13,6 +14,7 @@ public abstract class StreamConfigurationSource : IConfigurationSource
/// <summary>
/// The stream containing the configuration data.
/// </summary>
[DisallowNull]
public Stream? Stream { get; set; }

/// <summary>
Expand Down