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