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