You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
noahfalk
added
enhancement
Product code improvement that does NOT require public API changes/additions
and removed
enhancement
Product code improvement that does NOT require public API changes/additions
labels
Jan 12, 2021
Fixesdotnet#41300
Previously DiagnosticSourceEventSource would only iterate and recognize properties that were declared on the most derived type.
Now it can capture properties that were inherited from a base class too.
Fixes#41300
Previously DiagnosticSourceEventSource would only iterate and recognize properties that were declared on the most derived type.
Now it can capture properties that were inherited from a base class too.
ghost
removed
the
in-pr
There is an active PR which will close this issue when it is merged
label
Jul 14, 2021
ghost
locked as resolved and limited conversation to collaborators
Aug 13, 2021
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Description
In FilterAndPayloadSpecs, TransformSpec can only access payload properties declared in the current class but not in base class.
Configuration
Regression?
Other information
Proposed fix:
Change
DeclaredProperties
andGetDeclaredProperty
to enable access to declared and inherited properties in current class and base class.runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs
Line 945 in d14b50a
runtime/src/libraries/System.Diagnostics.DiagnosticSource/src/System/Diagnostics/DiagnosticSourceEventSource.cs
Line 714 in d14b50a
https://stackoverflow.com/questions/35370384/how-to-get-declared-and-inherited-members-from-typeinfo
The text was updated successfully, but these errors were encountered: