Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public NotFoundFileInfo(string name) { }
[System.Diagnostics.CodeAnalysis.DoesNotReturn]
public System.IO.Stream CreateReadStream() { throw null; }
}
public partial class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken
public sealed partial class NullChangeToken : Microsoft.Extensions.Primitives.IChangeToken
{
internal NullChangeToken() { }
public bool ActiveChangeCallbacks { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Extensions.FileProviders
/// <summary>
/// An empty change token that doesn't raise any change callbacks.
/// </summary>
public class NullChangeToken : IChangeToken
public sealed class NullChangeToken : IChangeToken
{
/// <summary>
/// Gets a singleton instance of <see cref="NullChangeToken"/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public void AddProvider(Microsoft.Extensions.Logging.ILoggerProvider provider) {
public Microsoft.Extensions.Logging.ILogger CreateLogger(string name) { throw null; }
public void Dispose() { }
}
public partial class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable
public sealed partial class NullLoggerProvider : Microsoft.Extensions.Logging.ILoggerProvider, System.IDisposable
{
internal NullLoggerProvider() { }
public static Microsoft.Extensions.Logging.Abstractions.NullLoggerProvider Instance { get { throw null; } }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace Microsoft.Extensions.Logging.Abstractions
/// <summary>
/// Provider for the <see cref="NullLogger"/>.
/// </summary>
public class NullLoggerProvider : ILoggerProvider
public sealed class NullLoggerProvider : ILoggerProvider
{
/// <summary>
/// Returns an instance of <see cref="NullLoggerProvider"/>.
Expand Down
Loading