31 references to ShouldEmitNullableAttributes
Microsoft.CodeAnalysis.CSharp (31)
BoundTree\UnboundLambda.cs (1)
794
if (compilation.
ShouldEmitNullableAttributes
(lambdaSymbol) &&
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
140
if (compilationState.Compilation.
ShouldEmitNullableAttributes
(this))
Lowering\LocalRewriter\LocalRewriter.cs (1)
342
if (_factory.CompilationState.Compilation.
ShouldEmitNullableAttributes
(localFunction))
Symbols\MethodSymbol.cs (1)
1166
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
417
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\LocalFunctionSymbol.cs (1)
241
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\ParameterHelpers.cs (1)
376
if (parameters.Length > 0 && compilation.
ShouldEmitNullableAttributes
(container))
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
350
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceEventSymbol.cs (2)
339
if (compilation.
ShouldEmitNullableAttributes
(this))
753
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
148
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (3)
1738
if (compilation.
ShouldEmitNullableAttributes
(this))
5008
if (!compilation.
ShouldEmitNullableAttributes
(this))
5072
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMemberMethodSymbol.cs (3)
850
if (compilation.
ShouldEmitNullableAttributes
(this) &&
873
if (!compilation.
ShouldEmitNullableAttributes
(this))
908
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
266
if (compilation.
ShouldEmitNullableAttributes
(this) && ReturnTypeWithAnnotations.NeedsNullableAttribute())
Symbols\Source\SourceParameterSymbolBase.cs (1)
117
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourcePropertySymbolBase.cs (2)
830
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1141
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
318
if (!DeclaringCompilation.
ShouldEmitNullableAttributes
(this))
390
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Symbol.cs (5)
1485
if (compilation.
ShouldEmitNullableAttributes
(this))
1491
if (compilation.
ShouldEmitNullableAttributes
(this))
1503
if (compilation.
ShouldEmitNullableAttributes
(field))
1509
if (compilation.
ShouldEmitNullableAttributes
(this))
1515
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
81
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
174
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\TypeSymbolExtensions.cs (1)
2011
if (compilation.
ShouldEmitNullableAttributes
(declaringSymbol))