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