2 writes to Data
Microsoft.CodeAnalysis.CSharp (2)
Generated\BoundNodes.xml.Generated.cs (2)
1109this.Data = data; 1118this.Data = data;
17 references to Data
Microsoft.CodeAnalysis.CSharp (17)
Binder\Binder.ValueChecks.cs (1)
620? typeOrValue.Data.ValueExpression
Binder\Binder_Expressions.cs (1)
9618bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext);
Binder\Binder_Invocation.cs (8)
447bool useType = IsInstance(typeOrValue.Data.ValueSymbol) && !HasThis(isExplicit: false, inStaticContext: out inStaticContext); 1893diagnostics.AddRange(typeOrValue.Data.TypeDiagnostics); 1895foreach (Diagnostic d in typeOrValue.Data.ValueDiagnostics.Diagnostics) 1900!(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. 1907return typeOrValue.Data.TypeExpression; 1911diagnostics.AddRange(typeOrValue.Data.ValueDiagnostics); 1912return CheckValue(typeOrValue.Data.ValueExpression, BindValueKind.RValue, diagnostics); 1937return typeOrValueExpression.Data.ValueExpression;
Compilation\CSharpSemanticModel.cs (1)
3426BoundExpression valueExpression = ((BoundTypeOrValueExpression)boundNode).Data.ValueExpression;
FlowAnalysis\AbstractFlowPass.cs (1)
1594return this.Visit(node.Data.ValueExpression);
FlowAnalysis\NullableWalker.DebugVerifier.cs (1)
192Visit(node.Data.ValueExpression);
Generated\BoundNodes.xml.Generated.cs (4)
1129if (data != this.Data || !TypeSymbol.Equals(type, this.Type, TypeCompareKind.ConsiderEverything)) 10920return node.Update(node.Data, type); 12488BoundTypeOrValueExpression updatedNode = node.Update(node.Data, infoAndType.Type!); 15140new TreeDumperNode("data", node.Data, null),