Skip to content

Conversation

@Aaronontheweb
Copy link
Member

@Aaronontheweb Aaronontheweb commented Feb 5, 2025

Changes

This prevents a NotImplementedException from being thrown inside some test cases when working with other components that depend on scopes via Microsoft.Extensions.Logging

Checklist

For significant changes, please ensure that the following have been completed (delete if not relevant):

This prevents a `NotImplementedException` from being thrown inside some test cases when working with other components that depend on scopes via Microsoft.Extensions.Logging
public IDisposable BeginScope<TState>(TState state)
{
throw new NotImplementedException();
return NullScope.Instance;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't alter behavior, just stops the throw

Copy link
Contributor

@Arkatufus Arkatufus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants