14 references to IsTypeParameterDisallowingAnnotationInCSharp8
Microsoft.CodeAnalysis.CSharp (14)
Binder\Binder_Symbols.cs (1)
613if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8())
FlowAnalysis\NullableWalker.cs (6)
2245if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8() && !(type.Type is TypeParameterSymbol { IsNotNullable: true })) 8973resultState = targetType?.IsTypeParameterDisallowingAnnotationInCSharp8() == true ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull; 8986if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == true) 8989if (type is null || !type.IsTypeParameterDisallowingAnnotationInCSharp8()) 9002if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == false) 9020if (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)