15 references to IsTypeParameterDisallowingAnnotationInCSharp8
Microsoft.CodeAnalysis.CSharp (15)
Binder\Binder_Symbols.cs (1)
611if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8())
FlowAnalysis\NullableWalker.cs (6)
2210if (type.Type.IsTypeParameterDisallowingAnnotationInCSharp8() && !(type.Type is TypeParameterSymbol { IsNotNullable: true })) 8246resultState = targetType?.IsTypeParameterDisallowingAnnotationInCSharp8() == true ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull; 8259if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == true) 8262if (type is null || !type.IsTypeParameterDisallowingAnnotationInCSharp8()) 8275if (targetType.Type?.IsTypeParameterDisallowingAnnotationInCSharp8() == false) 8293if (type is null || !type.IsTypeParameterDisallowingAnnotationInCSharp8())
SymbolDisplay\SymbolDisplayVisitor.Types.cs (1)
97(type as Symbols.PublicModel.TypeSymbol)?.UnderlyingTypeSymbol.IsTypeParameterDisallowingAnnotationInCSharp8() != true)
Symbols\ConstraintsHelper.cs (1)
1135return type.IsTypeParameterDisallowingAnnotationInCSharp8() ? NullableFlowState.MaybeDefault : NullableFlowState.MaybeNull;
Symbols\TypeWithAnnotations.cs (3)
304(!HasType || (!Type.IsValueType && !Type.IsTypeParameterDisallowingAnnotationInCSharp8()))) 485if (!typeSymbol.IsTypeParameterDisallowingAnnotationInCSharp8()) 794if (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)