236 references to CodeAssignStatement
PresentationBuildTasks (7)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (7)
990
CodeAssignStatement casES = new
CodeAssignStatement
(cvreES,
997
CodeAssignStatement casEvent = new
CodeAssignStatement
(cpreEvent,
1005
CodeAssignStatement casHandler = new
CodeAssignStatement
(cpreHandler,
1203
CodeAssignStatement casName = new
CodeAssignStatement
(ceEvent, cceTarget);
1287
CodeAssignStatement casContentLoaded = new
CodeAssignStatement
(cfreContentLoaded, new CodePrimitiveExpression(true));
2568
CodeAssignStatement casCL = new
CodeAssignStatement
(new CodeFieldReferenceExpression(null, CONTENT_LOADED),
3066
CodeStatement csPropSet = new
CodeAssignStatement
(cprePropSet, ceValue);
System.Activities (11)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (11)
778
new
CodeAssignStatement
(
1016
new
CodeAssignStatement
(
1049
new
CodeAssignStatement
(
1110
CodeAssignStatement cacheIndexInitializer = new
CodeAssignStatement
(
1328
CodeAssignStatement assignId = new
CodeAssignStatement
(
1342
new
CodeAssignStatement
(
1589
CodeAssignStatement statement = new
CodeAssignStatement
(new CodeSnippetExpression(expressionText), new CodeArgumentReferenceExpression(paramName));
1696
new
CodeAssignStatement
(fieldReference, getValue));
1860
CodeAssignStatement assignLocationsOffsetStatement = new
CodeAssignStatement
(
2243
new
CodeAssignStatement
(new CodeVariableReferenceExpression("offset"),
2252
CodeAssignStatement setexpectedLocationsCountStatement = new
CodeAssignStatement
(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1489
private static CodeStatement Assign(CodeExpression left, CodeExpression right) { return new
CodeAssignStatement
(left, right);}
System.Data.Entity.Design (18)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (5)
396
new
CodeAssignStatement
(
400
new
CodeAssignStatement
(
404
new
CodeAssignStatement
(
408
new
CodeAssignStatement
(
412
new
CodeAssignStatement
(
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
389
new
CodeAssignStatement
(
591
CodeStatement nullConstructor = new
CodeAssignStatement
(variableReference,
595
CodeStatement valueConstructor = new
CodeAssignStatement
(variableReference,
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
214
new
CodeAssignStatement
(valueProperty, valueRef));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (8)
241
new
CodeAssignStatement
(FieldRef,
252
new
CodeAssignStatement
(
361
new
CodeAssignStatement
(
486
new
CodeAssignStatement
(
497
new
CodeAssignStatement
(
524
new
CodeAssignStatement
(
535
new
CodeAssignStatement
(
543
new
CodeAssignStatement
(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
232
method.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(instanceRef, propertyEmitter.PropertyName), newPropertyValue));
System.Data.Services.Design (10)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
198
new
CodeAssignStatement
(
212
new
CodeAssignStatement
(
550
new
CodeAssignStatement
(
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (2)
177
new
CodeAssignStatement
(valueProperty, valueRef));
232
csc.Add(new
CodeAssignStatement
(getMethod, valueRef));
System\Data\EntityModel\Emitters\PropertyEmitter.cs (4)
262
new
CodeAssignStatement
(FieldRef,
266
new
CodeAssignStatement
(
360
new
CodeAssignStatement
(
370
new
CodeAssignStatement
(
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
233
method.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(instanceRef, propertyEmitter.PropertyName), newPropertyValue));
System.Management (112)
WmiGenerator.cs (112)
1041
cmp.SetStatements.Add(new
CodeAssignStatement
(Value,
1111
cis.TrueStatements.Add(new
CodeAssignStatement
(cpre,
1139
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["LateBoundObject"].ToString()),new CodeVariableReferenceExpression("ManagedObject")));
1496
cmm2.Statements.Add(new
CodeAssignStatement
(cie,new CodePrimitiveExpression(null)));
1555
ccs.TrueStatements.Add(new
CodeAssignStatement
(cie,new CodePrimitiveExpression(null)));
1556
ccs.FalseStatements.Add(new
CodeAssignStatement
(cie,new CodeSnippetExpression("value")));
1562
cmp.SetStatements.Add(new
CodeAssignStatement
(cie,new CodeSnippetExpression("value")));
2137
cmm.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strPathObject),cmietoAdd));
2217
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression("dummyParam"),new CodePrimitiveExpression(null)));
2276
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression("dummyParam"),new CodePrimitiveExpression(null)));
2595
cis.TrueStatements.Add(new
CodeAssignStatement
(
2602
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2603
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2663
cis.TrueStatements.Add(new
CodeAssignStatement
(
2670
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2671
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2674
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString()),
2764
cmmInit.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(
2770
cmmInit.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(
2774
cmmInit.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["CurrentObject"].ToString()),
2789
cctor.Statements.Add(new
CodeAssignStatement
(cpre, new CodePrimitiveExpression(true)));
2944
cis.TrueStatements.Add(new
CodeAssignStatement
(cprePriveleges, new CodePrimitiveExpression(true)));
2965
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strInParams),cmie));
3029
cis.TrueStatements.Add(new
CodeAssignStatement
(cie,new CodeCastExpression(new CodeTypeReference(cpde.Type.BaseType + " "),
3034
cis.TrueStatements.Add(new
CodeAssignStatement
(cie,new CodeCastExpression(cpde.Type,new CodeVariableReferenceExpression(cpde.Name))));
3144
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),
3155
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),cmie2));
3174
cis.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),coce));
3178
cis.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),
3191
cis.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),cmie2));
3195
cis.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(prop.Name),
3227
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(inoutParams[i].ToString()),
3236
cis.TrueStatements.Add(new
CodeAssignStatement
(cprePriveleges, new CodeVariableReferenceExpression(PrivateNamesUsed["Privileges"].ToString())));
3249
cmm.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression("retVar"),new CodePrimitiveExpression(null)));
3261
cmm.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression("retVar"),
3281
cmm.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression("retVar"),coce));
3502
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3504
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3510
cis1.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3522
cmm.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3526
cmm.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3549
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["EnumParam"].ToString()),
3551
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3683
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3685
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3690
cis1.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["ScopeParam"].ToString()),
3717
cmm.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3724
cmm.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
3840
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(baseTypeMemberVariable),cmie));
3843
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(typeMemberVariable),new CodeVariableReferenceExpression(baseTypeParam)));
4328
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strObjectCollection),
4424
cfls.InitStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),new CodePrimitiveExpression(0));
4430
cfls.IncrementStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),
4545
cctor.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strObjectEnumerator),
5461
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strRetVar),
5485
cis2.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strRetVar),
5640
cfls.InitStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),new CodePrimitiveExpression(0));
5646
cfls.IncrementStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),
5726
statColl.Add(new
CodeAssignStatement
(varToAssign,new CodePrimitiveExpression(null)));
5727
cis1.TrueStatements.Add (new
CodeAssignStatement
(varToAssign ,CreateObjectForProperty(strType,cmie)));
5752
cis1.TrueStatements.Add(new
CodeAssignStatement
(varToAssign,CreateObjectForProperty(strType,ce)));
5753
cis1.FalseStatements.Add(new
CodeAssignStatement
(varToAssign,CreateObjectForProperty(strType,null)));
5831
cfls.IncrementStatement = new
CodeAssignStatement
(
5856
cfls.Statements.Add( new
CodeAssignStatement
(new CodeIndexerExpression(new CodeVariableReferenceExpression(strArray),
5869
statColl.Add(new
CodeAssignStatement
(varToAssign,new CodePrimitiveExpression(null)));
5870
cis1.TrueStatements.Add(new
CodeAssignStatement
(varToAssign ,new CodeVariableReferenceExpression(strArray)));
5890
statColl.Add(new
CodeAssignStatement
(prop,
5953
new
CodeAssignStatement
(
5968
cfls.Statements.Add( new
CodeAssignStatement
(new CodeIndexerExpression(new CodeVariableReferenceExpression(strArray),
5973
cis1.TrueStatements.Add(new
CodeAssignStatement
(prop,new CodeVariableReferenceExpression(strArray)));
5974
cis1.FalseStatements.Add(new
CodeAssignStatement
(prop,new CodePrimitiveExpression(null)));
6116
cis.TrueStatements.Add(new
CodeAssignStatement
(Value,
6144
cfls.InitStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),new CodePrimitiveExpression(0));
6150
cfls.IncrementStatement = new
CodeAssignStatement
(new CodeVariableReferenceExpression(strnCtr),
6166
cfls.Statements.Add(new
CodeAssignStatement
(new CodeIndexerExpression(new CodeVariableReferenceExpression(ArrToRet),
6325
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strScope),coce));
6327
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(
6333
cis1.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strScope),
6559
tryblock.TryStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(tempStr), cmie));
6585
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(ticks),cboe2));
6718
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(datetimeVariable),coce));
6728
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(datetimeVariable),cmie2));
6772
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(tempStr), cmie));
6807
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(tempStr), cmie));
6815
tryblock2.TryStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(utcOffset), cmie));
6829
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(offsetAdjust),new CodeCastExpression(new CodeTypeReference("System.Int32"),cboe)));
6835
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(datetimeVariable),cmie));
6862
cmmdt.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(tempVarName), cmie));
6876
cis.TrueStatements.Add( new
CodeAssignStatement
(new CodeVariableReferenceExpression(toAssign),cmie));
7006
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7023
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7040
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7047
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7117
cis.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strmicrosec),cmie));
7132
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7136
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfTimeSpan),cmie2));
7227
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dateParam),cmie1));
7228
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strUtc),new CodePrimitiveExpression("+000")));
7257
cis2.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strUtc),
7284
cis2.FalseStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strUtc),
7339
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfDateTime),
7413
cis1.TrueStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strmicrosec),cmie1));
7426
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfDateTime),cmie2));
7433
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfDateTime),
7464
cmmdt.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(dmtfDateTime),
7615
tryblock.TryStatements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strTemp),cmie));
7626
new
CodeAssignStatement
(
7765
cmmts.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(timespan),cmie));
7787
statCol.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strTemp),cmie));
7793
statCol.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(strVarToAssign),cmie));
7813
cmmInit.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["AutoCommitProperty"].ToString()),
7815
cmmInit.Statements.Add(new
CodeAssignStatement
(new CodeVariableReferenceExpression(PrivateNamesUsed["IsEmbedded"].ToString()),
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1761
baseConstructor.Statements.Add(new
CodeAssignStatement
(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.Name), NullReference));
System.ServiceModel (6)
System\ServiceModel\Description\ClientClassGenerator.cs (5)
325
helperMethod.Statements.Add(new
CodeAssignStatement
(fieldRef, new CodeObjectCreateExpression(field.Type)));
344
helperMethod.Statements.Add(new
CodeAssignStatement
(new CodeArgumentReferenceExpression(param.Name), fieldRef));
346
helperMethod.Statements.Add(new
CodeAssignStatement
(fieldRef, new CodeArgumentReferenceExpression(param.Name)));
541
ctor.Statements.Add(new
CodeAssignStatement
(resultsFieldReference, new CodeVariableReferenceExpression(EventArgsCtorParamNames[0])));
927
new
CodeAssignStatement
(
System\ServiceModel\Description\OperationGenerator.cs (1)
836
otherCtor.Statements.Add(new
CodeAssignStatement
(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), field.Name), new CodeArgumentReferenceExpression(param.Name)));
System.Web (46)
Compilation\BaseCodeDomTreeGenerator.cs (4)
457
initializedCondition.TrueStatements.Add(new
CodeAssignStatement
(
555
prop.SetStatements.Add(new
CodeAssignStatement
(
618
ifStmt.TrueStatements.Add(new
CodeAssignStatement
(fieldAccess, propertyInitExpression));
785
CodeStatement simpleAssignment = new
CodeAssignStatement
(
Compilation\BaseTemplateCodeDomTreeGenerator.cs (11)
292
CodeAssignStatement setCtl = new
CodeAssignStatement
(ctrlRefExpr, newExpr);
301
CodeAssignStatement underscoreCtlSet = new
CodeAssignStatement
(ctrlNameExpr, ctrlRefExpr);
640
CodeAssignStatement setCtl = new
CodeAssignStatement
(childCtrlRefExpr, methCallExpression);
762
CodeAssignStatement setStatment = new
CodeAssignStatement
(leftExpr, rightExpr);
815
CodeAssignStatement setCtl = new
CodeAssignStatement
(childCtrlRefExpr, methCallExpression);
1003
CodeAssignStatement newTableAssign = new
CodeAssignStatement
(new CodeVariableReferenceExpression(tableVarName),
1068
CodeAssignStatement findControlAssign = new
CodeAssignStatement
(new CodeVariableReferenceExpression(entry.ControlID),
1097
CodeAssignStatement tableIndexAssign = new
CodeAssignStatement
(tableIndexer, controlPropertyExpression);
1254
CodeAssignStatement setTarget = new
CodeAssignStatement
(new CodeVariableReferenceExpression(targetDecl.Name),
1261
CodeAssignStatement setContainer = new
CodeAssignStatement
(new CodeVariableReferenceExpression(containerDecl.Name),
1578
CodeStatement simpleAssignment = new
CodeAssignStatement
(
Compilation\CodeDOMUtility.cs (2)
274
CodeAssignStatement assignStmt = new
CodeAssignStatement
(
292
CodeAssignStatement assignStmt = new
CodeAssignStatement
(
Compilation\DataBindingExpressionBuilder.cs (3)
89
CodeAssignStatement setTarget = new
CodeAssignStatement
(targetExp,
100
CodeAssignStatement setContainer = new
CodeAssignStatement
(new CodeVariableReferenceExpression(containerDecl.Name),
124
CodeAssignStatement setDataItem = new
CodeAssignStatement
(new CodeVariableReferenceExpression(itemTypeDecl.Name),
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
119
statements.Add(new
CodeAssignStatement
(activatorRefExpr, webObjectActivatorExpr));
Compilation\PageCodeDomTreeGenerator.cs (20)
145
InitMethod.Statements.Add(new
CodeAssignStatement
(
151
InitMethod.Statements.Add(new
CodeAssignStatement
(
157
InitMethod.Statements.Add(new
CodeAssignStatement
(
209
new
CodeAssignStatement
(outputCacheSettings, cacheSettingsObject);
215
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
223
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
231
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
239
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
249
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
257
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
265
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
273
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
281
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
288
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
296
CodeAssignStatement setPropertyStatement = new
CodeAssignStatement
(
307
new
CodeAssignStatement
(staticOutputCacheSettings, outputCacheSettings);
379
CodeAssignStatement setStatment = new
CodeAssignStatement
(leftExpr, rightExpr);
409
method.Statements.Add(new
CodeAssignStatement
(
415
method.Statements.Add(new
CodeAssignStatement
(
435
CodeAssignStatement statement = new
CodeAssignStatement
(left, right);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
99
return new
CodeAssignStatement
(indexerExpr, valueExpr);
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
73
CodeAssignStatement setProp = new
CodeAssignStatement
(
Configuration\BrowserCapabilitiesCodeGenerator.cs (2)
1130
cmm.Statements.Add(new
CodeAssignStatement
(_regexWorkerRefExpr, new CodeObjectCreateExpression("RegexWorker", _browserCapsRefExpr)));
1154
CodeAssignStatement assign = new
CodeAssignStatement
(
UI\SimplePropertyEntry.cs (1)
96
return new
CodeAssignStatement
(leftExpr, rightExpr);
System.Web.Services (8)
System\Web\Services\Description\ProtocolImporter.cs (2)
659
assignUrlStatement = new
CodeAssignStatement
(urlPropertyReference, value);
687
CodeStatement[] trueStatements = new CodeStatement[] { new
CodeAssignStatement
(urlPropertyReference, value) };
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
30
CodeAssignStatement assignVersionStatement = new
CodeAssignStatement
(versionPropertyReference, versionEnumFieldReference);
System\Web\Services\Description\SoapProtocolImporter.cs (2)
981
codeMethod.Statements.Add(new
CodeAssignStatement
(target, value));
988
codeMethod.Statements.Add(new
CodeAssignStatement
(target, value));
System\Web\Services\Description\WebCodeGenerator.cs (3)
100
prop.SetStatements.Add(new
CodeAssignStatement
(left, right));
343
CodeStatement[] trueStatements = new CodeStatement[] { new
CodeAssignStatement
(member, createDelegate) };
388
ctor.Statements.Add(new
CodeAssignStatement
(new CodeFieldReferenceExpression(new CodeThisReferenceExpression(), data.Name), new CodeArgumentReferenceExpression(results)));
System.Workflow.Activities (1)
Rules\Parser\Parser.cs (1)
1233
result = new
CodeAssignStatement
(postfixExpr, rhsExpr);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
202
retVal.Add(new
CodeAssignStatement
(propertyRef, new CodeTypeOfExpression(typeName)));
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (1)
70
statements.Add(new
CodeAssignStatement
(varExpression, result as CodeExpression));
XamlBuildTask (13)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (13)
543
tryStatements.Add(new
CodeAssignStatement
(xmlReaderVar, xmlReader));
551
new
CodeAssignStatement
(
561
new
CodeAssignStatement
(
567
tryStatements.Add(new
CodeAssignStatement
(xamlReaderVar, newReader));
596
tryStatements.Add(new
CodeAssignStatement
(objWriterVar, newObjectWriter));
617
new
CodeAssignStatement
(
1108
new
CodeAssignStatement
(assemblyList,
1163
CodeAssignStatement assignSchemaContext = new
CodeAssignStatement
(xsc,
1178
initSchemaContext.TrueStatements.Add(new
CodeAssignStatement
(xsc, typeof(XamlSchemaContext).New(AssemblyList)));
1179
initSchemaContext.FalseStatements.Add(new
CodeAssignStatement
(xsc, typeof(XamlSchemaContext).New()));
1182
CodeAssignStatement assignSchemaContextField = new
CodeAssignStatement
(schemaContext, typeof(WeakReference).New(xsc));
1242
tryCatchExp.TryStatements.Add(new
CodeAssignStatement
(asm,
1261
catchClause.Statements.Add(new
CodeAssignStatement
(asm,