9 references to DisableNullableAnalysis
Microsoft.CodeAnalysis.CSharp (1)
Compilation\SyntaxTreeSemanticModel.cs (1)
104
public override bool NullableAnalysisIsDisabled => (_options & SemanticModelOptions.
DisableNullableAnalysis
) != 0;
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (2)
Symbols\Source\NullablePublicAPITests.cs (2)
5191
test(SemanticModelOptions.
DisableNullableAnalysis
, expectedAnnotation: PublicNullableAnnotation.None);
5226
test(SemanticModelOptions.
DisableNullableAnalysis
);
Microsoft.CodeAnalysis.Workspaces (6)
ReassignedVariable\AbstractReassignedVariableService.cs (1)
95
model = compilation.GetSemanticModel(syntaxTree, SemanticModelOptions.
DisableNullableAnalysis
);
src\Workspaces\SharedUtilitiesAndExtensions\Workspace\Core\Extensions\DocumentExtensions.cs (1)
55
semanticModel = await document.GetSemanticModelAsync(SemanticModelOptions.
DisableNullableAnalysis
, cancellationToken).ConfigureAwait(false);
Workspace\Solution\Document.cs (4)
288
disableNullableAnalysis: (options & SemanticModelOptions.
DisableNullableAnalysis
) == SemanticModelOptions.
DisableNullableAnalysis
,
301
semanticModel = await this.GetSemanticModelAsync(SemanticModelOptions.
DisableNullableAnalysis
, cancellationToken).ConfigureAwait(false);
355
var result = compilation.GetSemanticModel(syntaxTree, disableNullableAnalysis ? SemanticModelOptions.
DisableNullableAnalysis
: SemanticModelOptions.None);