11 references to NeedsNullableAttribute
Microsoft.CodeAnalysis.CSharp (11)
BoundTree\UnboundLambda.cs (1)
856
returnType.
NeedsNullableAttribute
())
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
148
if (ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Lowering\LocalRewriter\LocalRewriter.cs (1)
409
if (constraintsNeedNullableAttribute || hasReturnTypeOrParameter(localFunction, static t => t.
NeedsNullableAttribute
()))
Symbols\Source\LocalFunctionSymbol.cs (1)
278
returnType.
NeedsNullableAttribute
())
Symbols\Source\ParameterHelpers.cs (1)
402
if (parameter.TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
336
ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceEventSymbol.cs (1)
833
TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceFieldSymbol.cs (1)
150
TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
259
if (compilation.ShouldEmitNullableAttributes(this) && ReturnTypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourcePropertySymbolBase.cs (1)
1036
this.TypeWithAnnotations.
NeedsNullableAttribute
())
Symbols\Source\SourceTypeParameterSymbol.cs (1)
330
if (this.ConstraintTypesNoUseSiteDiagnostics.Any(static c => c.
NeedsNullableAttribute
()))