59 references to 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)
986
CodeVariableReferenceExpression cvreES = new
CodeVariableReferenceExpression
(EVENTSETTER);
2707
CodeVariableReferenceExpression cvreMemStm = new
CodeVariableReferenceExpression
(resVarname);
3162
CodeVariableReferenceExpression cvre = new
CodeVariableReferenceExpression
(APPVAR);
3335
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)
144
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name1"), new CodeObjectCreateExpression(typeof(DataClass))),
148
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
149
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "IntValue"), new CodePrimitiveExpression(1)),
150
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name1"), "StringValue"), new CodePrimitiveExpression("Value"))
158
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name2"), new CodeObjectCreateExpression(typeof(DataClass))),
162
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
163
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "IntValue"), new CodePrimitiveExpression(2)),
164
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name2"), "StringValue"), new CodePrimitiveExpression("OtherValue"))
246
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
250
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
251
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
252
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
348
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
352
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
353
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
354
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
393
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
397
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
398
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
399
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
443
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
444
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
445
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
489
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
490
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
491
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1))
534
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
538
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
539
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
540
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))
583
new CodeAssignStatement(new
CodeVariableReferenceExpression
("name"), new CodeObjectCreateExpression(typeof(DataClass))),
587
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "DefaultStringValue"), new CodePrimitiveExpression(null)),
588
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "IntValue"), new CodePrimitiveExpression(1)),
589
new CodeAssignStatement(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("name"), "StringValue"), new CodePrimitiveExpression("Value"))