2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1091this.Data = data; 1100this.Data = data;
17 references to Data
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (1)
649? typeOrValue.Data.ValueExpression
Binder\Binder_Expressions.cs (1)
10094bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (8)
449bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext); 1898diagnostics.AddRange(typeOrValue.Data.TypeDiagnostics); 1900foreach (Diagnostic d in typeOrValue.Data.ValueDiagnostics.Diagnostics) 1905!(d.Arguments is [ParameterSymbol shadowedParameter] && shadowedParameter.Type.Equals(typeOrValue.Data.ValueExpression.Type, TypeCompareKind.AllIgnoreOptions))) // If the type and the name match, we would resolve to the same type rather than a value at the end. 1912return typeOrValue.Data.TypeExpression; 1916diagnostics.AddRange(typeOrValue.Data.ValueDiagnostics); 1917return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics); 1942return typeOrValueExpression.Data.ValueExpression;
Compilation\CSharpSemanticModel.cs (1)
3437BoundExpression valueExpression = ((BoundTypeOrValueExpression)boundNode).Data.ValueExpression;
FlowAnalysis\AbstractFlowPass.cs (1)
1658return this.Visit(node.Data.ValueExpression);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
249Visit(node.Data.ValueExpression);
Generated\BoundNodes.xml.Generated.cs (4)
1111if (data != this.Data || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10951return node.Update(node.Data, type); 12658BoundTypeOrValueExpression updatedNode = node.Update(node.Data, infoAndType.Type!); 15309new TreeDumperNode("data", node.Data, null),