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