1 write to NonLiteralState
Microsoft.CodeAnalysis.NetAnalyzers (1)
src\440320f3f10733a8\ValueContentAbstractValue.cs (1)
39
NonLiteralState
= nonLiteralState;
19 references to NonLiteralState
Microsoft.CodeAnalysis.NetAnalyzers (19)
Microsoft.NetCore.Analyzers\Data\ReviewSqlQueriesForSecurityVulnerabilities.cs (1)
229
if (value.
NonLiteralState
== ValueContainsNonLiteralState.No)
src\440320f3f10733a8\ValueContentAbstractValue.cs (9)
152
hashCode.Add(
NonLiteralState
.GetHashCode());
159
&&
NonLiteralState
.GetHashCode() == other.
NonLiteralState
.GetHashCode();
179
ValueContainsNonLiteralState mergedNonLiteralState = Merge(
NonLiteralState
, otherState.
NonLiteralState
);
208
public bool IsLiteralState => !LiteralValues.IsEmpty &&
NonLiteralState
== ValueContainsNonLiteralState.No;
280
ValueContainsNonLiteralState mergedNonLiteralState = Merge(
NonLiteralState
, otherState.
NonLiteralState
);
286
string.Format(CultureInfo.InvariantCulture, "L({0}) NL:{1}", LiteralValues.Count,
NonLiteralState
.ToString()[0]);
src\440320f3f10733a8\ValueContentAnalysis.CoreAnalysisDataDomain.cs (3)
26
protected override bool CanSkipNewEntry(AnalysisEntity analysisEntity, ValueContentAbstractValue value) => value.
NonLiteralState
== ValueContainsNonLiteralState.Maybe;
44
backEdgeValue.
NonLiteralState
== forwardEdgeValue.
NonLiteralState
)
src\440320f3f10733a8\ValueContentAnalysis.ValueContentAbstractDomain.cs (4)
30
if (oldValue.
NonLiteralState
== newValue.
NonLiteralState
)
53
else if (oldValue.
NonLiteralState
< newValue.
NonLiteralState
)
src\440320f3f10733a8\ValueContentAnalysis.ValueContentDataFlowOperationVisitor.cs (1)
123
if (newValue.
NonLiteralState
== ValueContainsNonLiteralState.Invalid)
src\sdk\src\Microsoft.CodeAnalysis.NetAnalyzers\src\Utilities\FlowAnalysis\FlowAnalysis\Analysis\PropertySetAnalysis\PropertySetCallbacks.cs (1)
53
switch (valueContentAbstractValue.
NonLiteralState
)