26 references to None
Microsoft.CodeAnalysis.CSharp (1)
Symbols\NullableFlowStateExtensions.cs (1)
42CodeAnalysis.NullableFlowState.None => CSharp.NullableFlowState.NotNull,
Microsoft.CodeAnalysis.CSharp.Features (2)
QuickInfo\CSharpSemanticQuickInfoProvider.cs (2)
92return NullableFlowState.None; 101return NullableFlowState.None;
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (10)
Semantics\DynamicTests.cs (1)
7903Assert.Equal(CodeAnalysis.NullableFlowState.None, typeInfo.Nullability.FlowState);
Semantics\NullableContextTests.cs (9)
353var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.NotNull : Microsoft.CodeAnalysis.NullableFlowState.None; 392var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.MaybeNull : Microsoft.CodeAnalysis.NullableFlowState.None; 427var expectedNullability = expectedFlowState ? Microsoft.CodeAnalysis.NullableFlowState.MaybeNull : Microsoft.CodeAnalysis.NullableFlowState.None; 1781Assert.Equal(Microsoft.CodeAnalysis.NullableFlowState.None, typeInfo.Nullability.FlowState); 1881verify(attributeArguments[1], "A.F2 = null", Microsoft.CodeAnalysis.NullableFlowState.None); 1930verify(attributeArguments[1], "C2", Microsoft.CodeAnalysis.NullableFlowState.None); 1972verify(equalsValueClauses[1], "(F2 = null)", Microsoft.CodeAnalysis.NullableFlowState.None); 2011verify(declarations[0], "F1", Microsoft.CodeAnalysis.NullableFlowState.None); 2050verify(declarations[0], "P1", Microsoft.CodeAnalysis.NullableFlowState.None);
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (7)
Compilation\SemanticModelGetSemanticInfoTests.cs (4)
8557Assert.Equal(CodeAnalysis.NullableFlowState.None, semanticInfo.Nullability.FlowState); 8558Assert.Equal(CodeAnalysis.NullableFlowState.None, semanticInfo.ConvertedNullability.FlowState); 8602Assert.Equal(CodeAnalysis.NullableFlowState.None, semanticInfo.Nullability.FlowState); 8603Assert.Equal(CodeAnalysis.NullableFlowState.None, semanticInfo.ConvertedNullability.FlowState);
Symbols\Source\NullablePublicAPITests.cs (3)
1673Assert.Equal(PublicNullableFlowState.None, type.Nullability.FlowState); 1716Assert.Equal(PublicNullableFlowState.None, type.Nullability.FlowState); 2930Assert.Equal(PublicNullableFlowState.None, typeInfo.Nullability.FlowState);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
CompilationTestUtils.cs (1)
474Assert.NotEqual(CodeAnalysis.NullableFlowState.None, typeInfo.Nullability.FlowState);
Microsoft.CodeAnalysis.Features (5)
QuickInfo\CommonSemanticQuickInfoProvider.cs (2)
188protected virtual NullableFlowState GetNullabilityAnalysis(SemanticModel semanticModel, ISymbol symbol, SyntaxNode node, CancellationToken cancellationToken) => NullableFlowState.None; 214var nullableFlowState = NullableFlowState.None;
QuickInfo\CommonSemanticQuickInfoProvider.TokenInfo.cs (2)
11public 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);