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