This repository was archived by the owner on Jan 23, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
Microsoft/CSharp/RuntimeBinder Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -1982,7 +1982,13 @@ private SymWithType GetSlotForOverride(MethodInfo method)
1982
1982
1983
1983
AggregateSymbol aggregate = GetCTypeFromType ( baseMethodInfo . DeclaringType ) . getAggregate ( ) ;
1984
1984
MethodSymbol baseMethod = FindMethodFromMemberInfo ( baseMethodInfo ) ;
1985
- Debug . Assert ( baseMethod != null ) ;
1985
+
1986
+ // This assert is temporarily disabled to improve testability of the area on .NetNative
1987
+ //Debug.Assert(baseMethod != null);
1988
+ if ( ( object ) baseMethod == null )
1989
+ {
1990
+ throw Error . InternalCompilerError ( ) ;
1991
+ }
1986
1992
1987
1993
return new SymWithType ( baseMethod , aggregate . getThisType ( ) ) ;
1988
1994
}
Original file line number Diff line number Diff line change 52
52
<Method Name =" GetLength" Dynamic =" Required" />
53
53
<Method Name =" get_Length" Dynamic =" Required" />
54
54
</Type >
55
+ <Type Name =" Nullable`1" Dynamic =" Required All" />
55
56
<Type Name =" Nullable< System.Char> " Dynamic =" Required Public" />
56
57
<Type Name =" Nullable< System.SByte> " Dynamic =" Required Public" />
57
58
<Type Name =" Nullable< System.Byte> " Dynamic =" Required Public" />
82
83
<Type Name =" Object" Dynamic =" Required Public" />
83
84
</Namespace >
84
85
</Assembly >
86
+
87
+ <Assembly Name =" System.Linq.Expressions" >
88
+ <Namespace Name =" System.Linq.Expressions" >
89
+ <Type Name =" Expression" Dynamic =" Required Public" >
90
+ </Type >
91
+ </Namespace >
92
+ </Assembly >
93
+
85
94
</Library >
86
95
</Directives >
You can’t perform that action at this time.
0 commit comments