29 references to ShouldEmitNullableAttributes
Microsoft.CodeAnalysis.CSharp (29)
BoundTree\UnboundLambda.cs (1)
855
if (compilation.
ShouldEmitNullableAttributes
(lambdaSymbol) &&
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
137
if (compilationState.Compilation.
ShouldEmitNullableAttributes
(this))
Lowering\LocalRewriter\LocalRewriter.cs (1)
404
if (_factory.CompilationState.Compilation.
ShouldEmitNullableAttributes
(localFunction))
Symbols\MethodSymbol.cs (1)
1176
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\FieldSymbolWithAttributesAndModifiers.cs (1)
417
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\LocalFunctionSymbol.cs (1)
277
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\ParameterHelpers.cs (1)
503
if (parameters.Length > 0 && compilation.
ShouldEmitNullableAttributes
(container))
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
335
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceEventSymbol.cs (2)
392
if (compilation.
ShouldEmitNullableAttributes
(this))
832
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
149
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (1)
1858
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMemberMethodSymbol.cs (2)
989
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1012
if (!compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMethodSymbol.cs (1)
120
if (compilation.
ShouldEmitNullableAttributes
(target) &&
Symbols\Source\SourceOrdinaryMethodOrUserDefinedOperatorSymbol.cs (1)
259
if (compilation.
ShouldEmitNullableAttributes
(this) && ReturnTypeWithAnnotations.NeedsNullableAttribute())
Symbols\Source\SourceParameterSymbolBase.cs (1)
126
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourcePropertySymbolBase.cs (2)
1057
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1406
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
322
if (!DeclaringCompilation.
ShouldEmitNullableAttributes
(this))
395
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Symbol.cs (5)
1632
if (compilation.
ShouldEmitNullableAttributes
(this))
1638
if (compilation.
ShouldEmitNullableAttributes
(this))
1650
if (compilation.
ShouldEmitNullableAttributes
(field))
1656
if (compilation.
ShouldEmitNullableAttributes
(this))
1662
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedFieldSymbolBase.cs (1)
81
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
179
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\TypeSymbolExtensions.cs (1)
2102
if (compilation.
ShouldEmitNullableAttributes
(declaringSymbol))