31 references to ShouldEmitNullableAttributes
Microsoft.CodeAnalysis.CSharp (31)
BoundTree\UnboundLambda.cs (1)
834
if (compilation.
ShouldEmitNullableAttributes
(lambdaSymbol) &&
Lowering\ClosureConversion\SynthesizedClosureMethod.cs (1)
141
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)
272
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\ParameterHelpers.cs (1)
398
if (parameters.Length > 0 && compilation.
ShouldEmitNullableAttributes
(container))
Symbols\Source\SourceDelegateMethodSymbol.cs (1)
335
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceEventSymbol.cs (2)
347
if (compilation.
ShouldEmitNullableAttributes
(this))
761
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceFieldSymbol.cs (1)
149
if (compilation.
ShouldEmitNullableAttributes
(this) &&
Symbols\Source\SourceMemberContainerSymbol.cs (3)
1837
if (compilation.
ShouldEmitNullableAttributes
(this))
5291
if (!compilation.
ShouldEmitNullableAttributes
(this))
5355
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceMemberMethodSymbol.cs (3)
961
if (compilation.
ShouldEmitNullableAttributes
(this) &&
984
if (!compilation.
ShouldEmitNullableAttributes
(this))
1019
if (compilation.
ShouldEmitNullableAttributes
(this) &&
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)
1042
if (compilation.
ShouldEmitNullableAttributes
(this) &&
1387
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Source\SourceTypeParameterSymbol.cs (2)
322
if (!DeclaringCompilation.
ShouldEmitNullableAttributes
(this))
395
if (compilation.
ShouldEmitNullableAttributes
(this))
Symbols\Symbol.cs (5)
1631
if (compilation.
ShouldEmitNullableAttributes
(this))
1637
if (compilation.
ShouldEmitNullableAttributes
(this))
1649
if (compilation.
ShouldEmitNullableAttributes
(field))
1655
if (compilation.
ShouldEmitNullableAttributes
(this))
1661
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))