14 references to IsTypeParameterDisallowingAnnotationInCSharp8
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Symbols.cs (1)
613if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8())
FlowAnalysis\NullableWalker.cs (6)
2282if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8() && !(type.Type is TypeParameterSymbol { IsNotNullable: true })) 9139resultState = targetType?.IsTypeParameterDisallowingAnnotationInCSharp8() == true ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull; 9152if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == true) 9155if (type is null || !type.IsTypeParameterDisallowingAnnotationInCSharp8()) 9168if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == false) 9186if (type is null || !type.IsTypeParameterDisallowingAnnotationInCSharp8())
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
93(type as Symbols.PublicModel.TypeSymbol)?.UnderlyingTypeSymbol.IsTypeParameterDisallowingAnnotationInCSharp8() != true)
Symbols\ConstraintsHelper.cs (1)
1213return type.IsTypeParameterDisallowingAnnotationInCSharp8() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull;
Symbols\TypeWithAnnotations.cs (2)
315(!HasType || (!Type.IsValueType && !Type.IsTypeParameterDisallowingAnnotationInCSharp8()))) 823if (type.IsTypeParameterDisallowingAnnotationInCSharp8())
Symbols\TypeWithState.cs (3)
31(type is null || type.IsTypeParameterDisallowingAnnotationInCSharp8())) 72Debug.Assert(state != NullableFlowState.MaybeDefault || type is null || type.IsTypeParameterDisallowingAnnotationInCSharp8()); 87if (Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == true)