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
privatebool?GetDefaultState(refLocalStatestate,intslot){
...switch(symbol.Kind){
...
case SymbolKind.Field:case SymbolKind.Property:case SymbolKind.Event:{// PROTOTYPE(NullableReferenceTypes): State of containing struct should not be important.// And if it is important, what about fields of structs that are fields of other structs, etc.?intcontainingSlot=variable.ContainingSlot;if(containingSlot>0&&variableBySlot[containingSlot].Symbol.GetTypeOrReturnType().TypeKind==TypeKind.Struct&&state[containingSlot]==null){returnnull;}return!symbol.GetTypeOrReturnType().IsNullable;}default:throwExceptionUtilities.UnexpectedValue(symbol.Kind);}}
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: