Repository navigation
Reflection context tests working - #77999
Conversation
|
Tagging subscribers to this area: @dotnet/area-system-reflection Issue Detailsnull
|
| public int field = 2; | ||
| public SecondTestObject(string a) : base(a) | ||
| { | ||
|
|
| [Fact] | ||
| public void DeclaringType_ReturnsCustomType() | ||
| { | ||
| Assert.Equal(ProjectionConstants.CustomType, _field.DeclaringType.FullName); |
There was a problem hiding this comment.
This is one of the tests that is failing. It looks like DeclaringType is SecondTestObject.
Did this succeed for you (locally)?
There was a problem hiding this comment.
I've got myself setup again, and this is failing. For whatever reason, when i initially PR'd this i thought it was passing. I'll button up the failures.
|
@steveharter I remember now, I had trouble hitting the |
| using System.Reflection.Context.Custom; | ||
| using System.Reflection.Context.Projection; | ||
| using System.Reflection.Context.Virtual; | ||
| using System.Runtime.CompilerServices; |
There was a problem hiding this comment.
I don't think you need this extra using.
|
Mono tests failing not related: |
Contributes to #26506