12 overrides of HasNotNullConstraint
Microsoft.CodeAnalysis.CSharp (12)
Symbols\AnonymousTypes\SynthesizedSymbols\AnonymousType.TypeParameterSymbol.cs (1)
87public override bool HasNotNullConstraint => false;
Symbols\ErrorTypeSymbol.ErrorTypeParameterSymbol.cs (1)
82public override bool HasNotNullConstraint => false;
Symbols\Metadata\PE\PETypeParameterSymbol.cs (1)
504public override bool HasNotNullConstraint
Symbols\Source\CrefTypeParameterSymbol.cs (1)
155public override bool HasNotNullConstraint => false;
Symbols\Source\IndexedTypeParameterSymbol.cs (1)
170public override bool HasNotNullConstraint => false;
Symbols\Source\SourceTypeParameterSymbol.cs (3)
552public override bool HasNotNullConstraint 686public override bool HasNotNullConstraint 957public override bool HasNotNullConstraint
Symbols\Synthesized\ReadOnlyListType\SynthesizedReadOnlyListTypeParameterSymbol.cs (1)
33public override bool HasNotNullConstraint => false;
Symbols\Synthesized\SynthesizedInlineArrayTypeSymbol.cs (1)
225public override bool HasNotNullConstraint => false;
Symbols\SynthesizedSimpleMethodTypeParameterSymbol.cs (1)
62public override bool HasNotNullConstraint => false;
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
96public override bool HasNotNullConstraint
7 references to HasNotNullConstraint
Microsoft.CodeAnalysis.CSharp (7)
Symbols\ConstraintsHelper.cs (1)
1124if (typeParameter.HasNotNullConstraint && typeArgument.GetValueNullableAnnotation().IsAnnotated() && !typeArgument.Type.IsNonNullableValueType())
Symbols\PublicModel\TypeParameterSymbol.cs (1)
95bool ITypeParameterSymbol.HasNotNullConstraint => _underlying.HasNotNullConstraint;
Symbols\Source\SourceTypeParameterSymbol.cs (3)
334if (this.HasNotNullConstraint) 415else if (this.HasNotNullConstraint) 961return this.OverriddenTypeParameter?.HasNotNullConstraint == true;
Symbols\TypeParameterSymbol.cs (1)
533if (this.HasNotNullConstraint || this.HasValueTypeConstraint)
Symbols\Wrapped\WrappedTypeParameterSymbol.cs (1)
100return _underlyingTypeParameter.HasNotNullConstraint;