9 overrides of FlowAnalysisAnnotations
Microsoft.CodeAnalysis.CSharp (9)
Symbols\FunctionPointers\FunctionPointerParameterSymbol.cs (1)
91internal override FlowAnalysisAnnotations FlowAnalysisAnnotations => FlowAnalysisAnnotations.None;
Symbols\Metadata\PE\PEParameterSymbol.cs (1)
780internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\SignatureOnlyParameterSymbol.cs (1)
95internal override FlowAnalysisAnnotations FlowAnalysisAnnotations { get { throw ExceptionUtilities.Unreachable(); } }
Symbols\Source\SourceClonedParameterSymbol.cs (1)
152internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\Source\SourceComplexParameterSymbol.cs (1)
148internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\Source\SourceSimpleParameterSymbol.cs (1)
132internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\Source\ThisParameterSymbol.cs (1)
78internal sealed override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\Synthesized\SynthesizedParameterSymbol.cs (1)
118internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
149internal override FlowAnalysisAnnotations FlowAnalysisAnnotations
20 references to FlowAnalysisAnnotations
Microsoft.CodeAnalysis.CSharp (13)
FlowAnalysis\NullableWalker.cs (7)
1299var annotations = parameter.FlowAnalysisAnnotations; 1361FlowAnalysisAnnotations annotations = parameter.FlowAnalysisAnnotations; 2030return GetParameterState(parameterType, parameter.FlowAnalysisAnnotations).State; 2992var state = GetParameterState(parameterType, parameter.FlowAnalysisAnnotations).State; 6512annotations = node.Method.ContainingType.ExtensionParameter.FlowAnalysisAnnotations; 7023var annotations = parameter.FlowAnalysisAnnotations; 10445var typeWithState = GetParameterState(parameterType, parameter.FlowAnalysisAnnotations);
Symbols\Source\SourceMemberContainerSymbol_ImplementationChecks.cs (3)
1317baseParameter.FlowAnalysisAnnotations, 1319overrideParameter.FlowAnalysisAnnotations)) 1337if (notNullIfParameterNotNull.Contains(overrideParam.Name) && NullableWalker.GetParameterState(baseParam.TypeWithAnnotations, baseParam.FlowAnalysisAnnotations).IsNotNull)
Symbols\SymbolExtensions.cs (2)
440if (property.GetOwnOrInheritedSetMethod()?.Parameters.Last().FlowAnalysisAnnotations is { } setterAnnotations) 468ParameterSymbol parameter => parameter.FlowAnalysisAnnotations,
Symbols\Wrapped\WrappedParameterSymbol.cs (1)
152get { return _underlyingParameter.FlowAnalysisAnnotations; }
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (6)
Semantics\LambdaTests.cs (2)
4984Assert.Equal(FlowAnalysisAnnotations.AllowNull | FlowAnalysisAnnotations.MaybeNullWhenFalse, lambdas[0].Parameters[0].FlowAnalysisAnnotations); 5029Assert.Equal(FlowAnalysisAnnotations.NotNullWhenTrue, lambda.Parameters[0].FlowAnalysisAnnotations);
Semantics\NullableReferenceTypesTests.cs (4)
38068var actual = method.Parameters.Select(p => p.FlowAnalysisAnnotations); 40986Assert.Equal(FlowAnalysisAnnotations.AllowNull, setter.Parameters.Last().FlowAnalysisAnnotations); 41047Assert.Equal(FlowAnalysisAnnotations.AllowNull | FlowAnalysisAnnotations.DisallowNull, setter.Parameters.Last().FlowAnalysisAnnotations); 44674Assert.Equal(FlowAnalysisAnnotations.DisallowNull, setter.Parameters.Last().FlowAnalysisAnnotations);
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
FunctionPointerUtilities.cs (1)
110Assert.Equal(FlowAnalysisAnnotations.None, symbol.FlowAnalysisAnnotations);