16 references to VariableName
System.CodeDom (4)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
413OutputIdentifier(e.VariableName);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1021OutputIdentifier(e.VariableName);
System\CodeDom\Compiler\CodeValidator.cs (2)
841ValidateIdentifier(e, nameof(e.VariableName), e.VariableName);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1963raisePropertyChangedEventMethod.Statements.Add(new CodeVariableDeclarationStatement(typeof(PropertyChangedEventHandler), propertyChanged.VariableName, new CodeEventReferenceExpression(ThisReference, PropertyChangedEvent.Name)));
System.Windows.Forms.Design (10)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
33CodeVariableReferenceExpression variableReferenceEx => variableReferenceEx.VariableName, 111instance = DeserializeExpression(manager, varRef.VariableName, assign.Right);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (7)
609object rhs = DeserializeExpression(manager, variableReferenceEx.VariableName, statement.Right)!; 615manager.SetName(rhs, variableReferenceEx.VariableName); 921result = manager.GetInstance(variableReferenceEx.VariableName); 924Error(manager, string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), SR.SerializerUndeclaredName); 2742Type? type = GetType(manager, variableReferenceEx.VariableName, names); 2758AddStatement(table, variableReferenceEx.VariableName, statement); 2764manager.ReportError(new CodeDomSerializerException(string.Format(SR.SerializerUndeclaredName, variableReferenceEx.VariableName), manager));
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
44[CodeVariableReferenceExpression variableReferenceEx, ..] => variableReferenceEx.VariableName,
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
62return $"new CodeVariableReferenceExpression({GetString(cvre.VariableName)})";