59 instantiations of CodeVariableReferenceExpression
Microsoft.Build.Tasks.Core (2)
system.design\stronglytypedresourcebuilder.cs (2)
467
init[1] = new CodeAssignStatement(field_resMgr, new
CodeVariableReferenceExpression
(tmpVarName));
656
ret = new CodeMethodReturnStatement(new CodeCastExpression(valueType, new
CodeVariableReferenceExpression
("obj")));
PresentationBuildTasks (4)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (4)
983
CodeVariableReferenceExpression cvreES = new
CodeVariableReferenceExpression
(EVENTSETTER);
2704
CodeVariableReferenceExpression cvreMemStm = new
CodeVariableReferenceExpression
(resVarname);
3159
CodeVariableReferenceExpression cvre = new
CodeVariableReferenceExpression
(APPVAR);
3332
CodeVariableReferenceExpression cvreAppSplash = new
CodeVariableReferenceExpression
(SPLASHVAR);
System.Runtime.Serialization.Schema (7)
System\Runtime\Serialization\Schema\CodeExporter.cs (7)
1827
derivedConstructor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(ImportGlobals.SerializationInfoFieldName));
1828
derivedConstructor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(ImportGlobals.ContextFieldName));
1885
new
CodeVariableReferenceExpression
(ImportGlobals.EnumeratorFieldName),
1891
new
CodeVariableReferenceExpression
(ImportGlobals.SerializationEntryFieldName),
1894
new
CodeVariableReferenceExpression
(ImportGlobals.SerializationEntryFieldName),
1904
new
CodeVariableReferenceExpression
(ImportGlobals.EnumeratorFieldName),
1962
CodeVariableReferenceExpression propertyChanged = new
CodeVariableReferenceExpression
("propertyChanged");
System.Windows.Forms.Design (12)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
471
CodeVariableReferenceExpression var =
new
(name);
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
187
CodeExpression variableReference = new
CodeVariableReferenceExpression
(varName);
240
expression = new
CodeVariableReferenceExpression
(name);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (2)
2479
expression = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(name[..dotIndex]), name[(dotIndex + 1)..]);
2483
expression = new
CodeVariableReferenceExpression
(name);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
245
assignLhs = new
CodeVariableReferenceExpression
(name);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
64
lhs = new
CodeVariableReferenceExpression
(ContainerName);
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (3)
300
SetExpression(manager, sm, new
CodeVariableReferenceExpression
(ResourceManagerName));
313
SetExpression(manager, sm, new
CodeVariableReferenceExpression
(ResourceManagerName));
344
Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(ResourceManagerName), methodName)
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
618
new CodeAssignStatement(resourceManagerField, new
CodeVariableReferenceExpression
(tempVariableName))
802
returnStatement = new(new CodeCastExpression(valueType, new
CodeVariableReferenceExpression
("obj")));
System.Windows.Forms.Design.Tests (34)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationServiceTests.cs (34)
146
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name1"), new CodeObjectCreateExpression(typeof(DataClass))),
150
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
151
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "IntValue"), new CodePrimitiveExpression(1)),
152
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "StringValue"), new CodePrimitiveExpression("Value"))
160
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name2"), new CodeObjectCreateExpression(typeof(DataClass))),
164
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
165
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "IntValue"), new CodePrimitiveExpression(2)),
166
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "StringValue"), new CodePrimitiveExpression("OtherValue"))
248
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
252
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
253
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
254
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
350
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
354
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
355
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
356
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
395
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
399
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
400
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
401
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
445
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
446
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
447
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
491
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
492
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
493
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1))
536
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
540
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
541
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
542
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
585
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
589
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
590
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
591
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
29 references to CodeVariableReferenceExpression
PresentationBuildTasks (8)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (8)
983
CodeVariableReferenceExpression
cvreES = new CodeVariableReferenceExpression(EVENTSETTER);
2704
CodeVariableReferenceExpression
cvreMemStm = new CodeVariableReferenceExpression(resVarname);
3151
private
CodeVariableReferenceExpression
GenerateAppInstance(CodeMemberMethod cmmMain)
3159
CodeVariableReferenceExpression
cvre = new CodeVariableReferenceExpression(APPVAR);
3240
CodeVariableReferenceExpression
cvreSplashScreen = null;
3248
CodeVariableReferenceExpression
cvreApp = GenerateAppInstance(cmmMain);
3323
private
CodeVariableReferenceExpression
GenerateSplashScreenInstance(CodeMemberMethod cmmMain)
3332
CodeVariableReferenceExpression
cvreAppSplash = new CodeVariableReferenceExpression(SPLASHVAR);
System (1)
src\libraries\shims\System\ref\System.cs (1)
110
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.
CodeVariableReferenceExpression
))]
System.CodeDom (10)
Microsoft\CSharp\CSharpCodeGenerator.cs (3)
412
private void GenerateVariableReferenceExpression(
CodeVariableReferenceExpression
e) =>
1162
else if (e is
CodeVariableReferenceExpression
)
1164
GenerateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
Microsoft\VisualBasic\VBCodeGenerator.cs (1)
1019
protected override void GenerateVariableReferenceExpression(
CodeVariableReferenceExpression
e)
System\CodeDom\Compiler\CodeGenerator.cs (3)
539
else if (e is
CodeVariableReferenceExpression
)
541
GenerateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
1376
protected abstract void GenerateVariableReferenceExpression(
CodeVariableReferenceExpression
e);
System\CodeDom\Compiler\CodeValidator.cs (3)
703
else if (e is
CodeVariableReferenceExpression
)
705
ValidateVariableReferenceExpression((
CodeVariableReferenceExpression
)e);
839
private static void ValidateVariableReferenceExpression(
CodeVariableReferenceExpression
e)
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1962
CodeVariableReferenceExpression
propertyChanged = new CodeVariableReferenceExpression("propertyChanged");
System.Windows.Forms.Design (8)
System\ComponentModel\Design\Serialization\CodeDomComponentSerializationService.CodeDomSerializationStore.ComponentListCodeDomSerializer.cs (1)
471
CodeVariableReferenceExpression
var = new(name);
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
33
CodeVariableReferenceExpression
variableReferenceEx => variableReferenceEx.VariableName,
109
else if (assign.Left is
CodeVariableReferenceExpression
varRef)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
606
else if (expression is
CodeVariableReferenceExpression
variableReferenceEx)
919
else if (result is
CodeVariableReferenceExpression
variableReferenceEx)
2734
else if (expression is
CodeVariableReferenceExpression
variableReferenceEx)
System\ComponentModel\Design\Serialization\CodeMethodMap.cs (1)
62
else if (statement is CodeAssignStatement { Left:
CodeVariableReferenceExpression
} variableAssignment)
System\ComponentModel\Design\Serialization\ResourceCodeDomSerializer.cs (1)
44
[
CodeVariableReferenceExpression
variableReferenceEx, ..] => variableReferenceEx.VariableName,
System.Windows.Forms.Design.Tests (1)
CodeDomHelpers.cs (1)
61
case
CodeVariableReferenceExpression
cvre: