31 references to ShouldEmitNullableAttributes
Microsoft.CodeAnalysis.CSharp (31)
BoundTree\UnboundLambda.cs (1)
885
if (compilation.
ShouldEmitNullableAttributes
(lambdaSymbol) &&
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
140
if (compilationState.Compilation.
ShouldEmitNullableAttributes
(this))
Lowering\LocalRewriter\LocalRewriter.cs (1)
409
if (_factory.CompilationState.Compilation.
ShouldEmitNullableAttributes
(localFunction))
Symbols\MethodSymbol.cs (1)
1193
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
424
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\LocalFunctionSymbol.cs (1)
305
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\ParameterHelpers.cs (1)
511
if (parameters.Length > 0 && compilation.
ShouldEmitNullableAttributes
(container))
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
343
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceEventSymbol.cs (2)
410
if (compilation.
ShouldEmitNullableAttributes
(this))
882
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
149
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (3)
1998
if (compilation.
ShouldEmitNullableAttributes
(this))
6158
if (!compilation.
ShouldEmitNullableAttributes
(this))
6222
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMemberMethodSymbol.cs (2)
1019
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1042
if (!compilation.
ShouldEmitNullableAttributes
(method))
Symbols\Source\SourceMethodSymbol.cs (1)
173
if (compilation.
ShouldEmitNullableAttributes
(target) &&
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
263
if (compilation.
ShouldEmitNullableAttributes
(this) && ReturnTypeWithAnnotations.NeedsNullableAttribute())
Symbols\Source\SourceParameterSymbolBase.cs (1)
129
if (compilation.
ShouldEmitNullableAttributes
(parameter))
Symbols\Source\SourcePropertySymbolBase.cs (2)
1079
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1450
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
323
if (!DeclaringCompilation.
ShouldEmitNullableAttributes
(this))
396
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Symbol.cs (5)
1679
if (compilation.
ShouldEmitNullableAttributes
(this))
1685
if (compilation.
ShouldEmitNullableAttributes
(this))
1697
if (compilation.
ShouldEmitNullableAttributes
(field))
1703
if (compilation.
ShouldEmitNullableAttributes
(this))
1709
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
83
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
177
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\TypeSymbolExtensions.cs (1)
2186
if (compilation.
ShouldEmitNullableAttributes
(declaringSymbol))