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