31 references to ShouldEmitNullableAttributes
Microsoft.CodeAnalysis.CSharp (31)
BoundTree\UnboundLambda.cs (1)
834if (compilation.ShouldEmitNullableAttributes(lambdaSymbol) &&
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
141if (compilationState.Compilation.ShouldEmitNullableAttributes(this))
Lowering\LocalRewriter\LocalRewriter.cs (1)
404if (_factory.CompilationState.Compilation.ShouldEmitNullableAttributes(localFunction))
Symbols\MethodSymbol.cs (1)
1176if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
417if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Source\LocalFunctionSymbol.cs (1)
272if (compilation.ShouldEmitNullableAttributes(this) &&
Symbols\Source\ParameterHelpers.cs (1)
398if (parameters.Length > 0 && compilation.ShouldEmitNullableAttributes(container))
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
335if (compilation.ShouldEmitNullableAttributes(this) &&
Symbols\Source\SourceEventSymbol.cs (2)
347if (compilation.ShouldEmitNullableAttributes(this)) 761if (compilation.ShouldEmitNullableAttributes(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
149if (compilation.ShouldEmitNullableAttributes(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (3)
1837if (compilation.ShouldEmitNullableAttributes(this)) 5291if (!compilation.ShouldEmitNullableAttributes(this)) 5355if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Source\SourceMemberMethodSymbol.cs (3)
961if (compilation.ShouldEmitNullableAttributes(this) && 984if (!compilation.ShouldEmitNullableAttributes(this)) 1019if (compilation.ShouldEmitNullableAttributes(this) &&
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
259if (compilation.ShouldEmitNullableAttributes(this) && ReturnTypeWithAnnotations.NeedsNullableAttribute())
Symbols\Source\SourceParameterSymbolBase.cs (1)
126if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Source\SourcePropertySymbolBase.cs (2)
1042if (compilation.ShouldEmitNullableAttributes(this) && 1387if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
322if (!DeclaringCompilation.ShouldEmitNullableAttributes(this)) 395if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Symbol.cs (5)
1631if (compilation.ShouldEmitNullableAttributes(this)) 1637if (compilation.ShouldEmitNullableAttributes(this)) 1649if (compilation.ShouldEmitNullableAttributes(field)) 1655if (compilation.ShouldEmitNullableAttributes(this)) 1661if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
81if (compilation.ShouldEmitNullableAttributes(this))
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
179if (compilation.ShouldEmitNullableAttributes(this))
Symbols\TypeSymbolExtensions.cs (1)
2102if (compilation.ShouldEmitNullableAttributes(declaringSymbol))