50 references to CodeAssignStatement
Microsoft.Build.Tasks.Core (2)
system.design\stronglytypedresourcebuilder.cs (2)
467
init[1] = new
CodeAssignStatement
(field_resMgr, new CodeVariableReferenceExpression(tmpVarName));
482
culture.SetStatements.Add(new
CodeAssignStatement
(field_resCulture, newCulture));
PresentationBuildTasks (7)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (7)
984
CodeAssignStatement casES = new
CodeAssignStatement
(cvreES,
991
CodeAssignStatement casEvent = new
CodeAssignStatement
(cpreEvent,
999
CodeAssignStatement casHandler = new
CodeAssignStatement
(cpreHandler,
1201
CodeAssignStatement casName = new
CodeAssignStatement
(ceEvent, cceTarget);
1285
CodeAssignStatement casContentLoaded = new
CodeAssignStatement
(cfreContentLoaded, new CodePrimitiveExpression(true));
2632
CodeAssignStatement casCL = new
CodeAssignStatement
(new CodeFieldReferenceExpression(null, CONTENT_LOADED),
3182
CodeStatement csPropSet = new
CodeAssignStatement
(cprePropSet, ceValue);
System.Runtime.Serialization.Schema (1)
System\Runtime\Serialization\Schema\CodeExporter.cs (1)
1813
baseConstructor.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.Name), NullReference));
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CollectionCodeDomSerializer.cs (1)
312
result = new
CodeAssignStatement
(targetExpression, arrayCreate);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
295
CodeAssignStatement assign =
new
(assignLhs, assignRhs);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
70
CodeAssignStatement assign =
new
(lhs, objCreate);
System\ComponentModel\Design\Serialization\PropertyMemberCodeDomSerializer.cs (1)
350
CodeAssignStatement assign =
new
(propertyRef, serializedPropertyValue);
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
618
new
CodeAssignStatement
(resourceManagerField, new CodeVariableReferenceExpression(tempVariableName))
634
culture.SetStatements.Add(new
CodeAssignStatement
(cultureInfoField, newCulture));
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"))