26 references to None
Microsoft.CodeAnalysis.CSharp (1)
Symbols\NullableFlowStateExtensions.cs (1)
42
CodeAnalysis.NullableFlowState.
None
=> CSharp.NullableFlowState.NotNull,
Microsoft.CodeAnalysis.CSharp.Features (2)
QuickInfo\CSharpSemanticQuickInfoProvider.cs (2)
92
return NullableFlowState.
None
;
101
return NullableFlowState.
None
;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\DynamicTests.cs (1)
7903
Assert.Equal(CodeAnalysis.NullableFlowState.
None
, typeInfo.Nullability.FlowState);
Semantics\NullableContextTests.cs (9)
353
var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.NotNull : Microsoft.CodeAnalysis.NullableFlowState.
None
;
392
var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.MaybeNull : Microsoft.CodeAnalysis.NullableFlowState.
None
;
427
var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.MaybeNull : Microsoft.CodeAnalysis.NullableFlowState.
None
;
1781
Assert.Equal(Microsoft.CodeAnalysis.NullableFlowState.
None
, typeInfo.Nullability.FlowState);
1881
verify(attributeArguments[1], "A.F2 = null", Microsoft.CodeAnalysis.NullableFlowState.
None
);
1930
verify(attributeArguments[1], "C2", Microsoft.CodeAnalysis.NullableFlowState.
None
);
1972
verify(equalsValueClauses[1], "(F2 = null)", Microsoft.CodeAnalysis.NullableFlowState.
None
);
2011
verify(declarations[0], "F1", Microsoft.CodeAnalysis.NullableFlowState.
None
);
2050
verify(declarations[0], "P1", Microsoft.CodeAnalysis.NullableFlowState.
None
);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelGetSemanticInfoTests.cs (4)
8557
Assert.Equal(CodeAnalysis.NullableFlowState.
None
, semanticInfo.Nullability.FlowState);
8558
Assert.Equal(CodeAnalysis.NullableFlowState.
None
, semanticInfo.ConvertedNullability.FlowState);
8602
Assert.Equal(CodeAnalysis.NullableFlowState.
None
, semanticInfo.Nullability.FlowState);
8603
Assert.Equal(CodeAnalysis.NullableFlowState.
None
, semanticInfo.ConvertedNullability.FlowState);
Symbols\Source\NullablePublicAPITests.cs (3)
1673
Assert.Equal(PublicNullableFlowState.
None
, type.Nullability.FlowState);
1716
Assert.Equal(PublicNullableFlowState.
None
, type.Nullability.FlowState);
2930
Assert.Equal(PublicNullableFlowState.
None
, typeInfo.Nullability.FlowState);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
474
Assert.NotEqual(CodeAnalysis.NullableFlowState.
None
, typeInfo.Nullability.FlowState);
Microsoft.CodeAnalysis.Features (5)
QuickInfo\CommonSemanticQuickInfoProvider.cs (2)
188
protected virtual NullableFlowState GetNullabilityAnalysis(SemanticModel semanticModel, ISymbol symbol, SyntaxNode node, CancellationToken cancellationToken) => NullableFlowState.
None
;
214
var nullableFlowState = NullableFlowState.
None
;
QuickInfo\CommonSemanticQuickInfoProvider.TokenInfo.cs (2)
11
public readonly struct TokenInformation(ImmutableArray<ISymbol> symbols, bool showAwaitReturn = false, NullableFlowState nullableFlowState = NullableFlowState.
None
)
22
/// The nullable flow state to show in Quick Info; will be <see cref="NullableFlowState.
None
"/> to show nothing.
QuickInfo\QuickInfoUtilities.cs (1)
22
=> CreateQuickInfoItemAsync(services, semanticModel, span, symbols, supportedPlatforms: null, showAwaitReturn: false, flowState: NullableFlowState.
None
, options, onTheFlyDocsInfo: null, cancellationToken);