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))
877
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
149
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (3)
2023
if (compilation.
ShouldEmitNullableAttributes
(this))
6179
if (!compilation.
ShouldEmitNullableAttributes
(this))
6243
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMemberMethodSymbol.cs (2)
1011
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1034
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)
1102
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1458
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
323
if (!DeclaringCompilation.
ShouldEmitNullableAttributes
(this))
396
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Symbol.cs (5)
1672
if (compilation.
ShouldEmitNullableAttributes
(this))
1678
if (compilation.
ShouldEmitNullableAttributes
(this))
1690
if (compilation.
ShouldEmitNullableAttributes
(field))
1696
if (compilation.
ShouldEmitNullableAttributes
(this))
1702
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))