1 write to Symbol
Microsoft.CodeAnalysis.CSharp (1)
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (1)
39
Symbol
= symbol;
26 references to Symbol
Microsoft.CodeAnalysis.CSharp (26)
FlowAnalysis\DefiniteAssignment.cs (10)
288
Debug.Assert(variableId.
Symbol
.Kind == SymbolKind.Field || variableId.
Symbol
.Kind == SymbolKind.Property || variableId.
Symbol
.Kind == SymbolKind.Event,
292
return variableId.
Symbol
;
1692
TypeSymbol structType = variable.
Symbol
.GetTypeOrReturnType().Type;
1728
TypeSymbol type = id.
Symbol
.GetTypeOrReturnType().Type;
1764
TypeSymbol type = id.
Symbol
.GetTypeOrReturnType().Type;
2848
string.IsNullOrEmpty(id.
Symbol
.Name) ? "<anon>" + id.
Symbol
.GetHashCode() :
2849
id.
Symbol
.Name);
FlowAnalysis\DefiniteAssignment.LocalFunctions.cs (1)
105
var type = id.
Symbol
.GetTypeOrReturnType().Type;
FlowAnalysis\DefiniteAssignment.VariableIdentifier.cs (7)
45
get { return (object)
Symbol
!= null; }
55
int? thisIndex =
Symbol
.MemberIndexOpt;
58
Hash.Combine(
Symbol
.OriginalDefinition, currentKey);
73
int? thisIndex =
Symbol
.MemberIndexOpt;
74
int? otherIndex = other.
Symbol
.MemberIndexOpt;
85
return Symbol.Equals(other.
Symbol
, TypeCompareKind.AllIgnoreOptions);
107
return $"ContainingSlot={ContainingSlot}, Symbol={
Symbol
.GetDebuggerDisplay()}";
FlowAnalysis\NullableWalker.cs (7)
1906
var symbol = variable.
Symbol
;
2152
|| (!constructor.IsStatic && containingSlot > 0 && _variables[containingSlot].
Symbol
is ThisParameterSymbol))
2678
return _variables[slot].
Symbol
.GetTypeOrReturnType().Type;
2713
var actualType = _variables[targetSlot].
Symbol
.GetTypeOrReturnType().Type;
3173
if (Symbol.IsCaptured(variables[slot].
Symbol
, localFunc))
3192
var symbol = variables[variables.RootSlot(slot)].
Symbol
;
12619
var name = id.
Symbol
.Name;
FlowAnalysis\NullableWalker.Variables.cs (1)
350
return GetVariablesContainingSymbol(identifier.
Symbol
);