11 references to NeedsNullableAttribute
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\UnboundLambda.cs (1)
795
returnType.
NeedsNullableAttribute
())
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
147
if (ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Lowering\LocalRewriter\LocalRewriter.cs (1)
347
if (constraintsNeedNullableAttribute || hasReturnTypeOrParameter(localFunction, static t => t.
NeedsNullableAttribute
()))
Symbols\Source\LocalFunctionSymbol.cs (1)
242
returnType.
NeedsNullableAttribute
())
Symbols\Source\ParameterHelpers.cs (1)
380
if (parameter.TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
351
ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceEventSymbol.cs (1)
754
TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceFieldSymbol.cs (1)
149
TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
266
if (compilation.ShouldEmitNullableAttributes(this) && ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourcePropertySymbolBase.cs (1)
831
this.TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceTypeParameterSymbol.cs (1)
326
if (this.ConstraintTypesNoUseSiteDiagnostics.Any(static c => c.
NeedsNullableAttribute
()))