274 instantiations of 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 (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
460CodeAssignStatement assignStmt = new CodeAssignStatement(); { 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 (5)
System\Runtime\Serialization\CodeExporter.cs (5)
1672CodeAssignStatement setNode = new CodeAssignStatement(); 1754CodeAssignStatement setObjectData = new CodeAssignStatement(); 1761baseConstructor.Statements.Add(new CodeAssignStatement(new CodePropertyReferenceExpression(ThisReference, PropertyChangedEvent.Name), NullReference)); 1892CodeAssignStatement propertySet = new CodeAssignStatement(); 1952CodeAssignStatement propertySet = new CodeAssignStatement();
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 (68)
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 (16)
292CodeAssignStatement setCtl = new CodeAssignStatement(ctrlRefExpr, newExpr); 301CodeAssignStatement underscoreCtlSet = new CodeAssignStatement(ctrlNameExpr, ctrlRefExpr); 315CodeAssignStatement set = new CodeAssignStatement(); 351CodeAssignStatement set = new CodeAssignStatement(); 491CodeAssignStatement setStatement = new CodeAssignStatement(); 640CodeAssignStatement setCtl = new CodeAssignStatement(childCtrlRefExpr, methCallExpression); 762CodeAssignStatement setStatment = new CodeAssignStatement(leftExpr, rightExpr); 815CodeAssignStatement setCtl = new CodeAssignStatement(childCtrlRefExpr, methCallExpression); 829CodeAssignStatement set = new CodeAssignStatement(); 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( 1698CodeAssignStatement assign = 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 (24)
89CodeAssignStatement assignDependencies = new CodeAssignStatement(); 99CodeAssignStatement addFileDep = new CodeAssignStatement(); 110CodeAssignStatement initFile = new CodeAssignStatement(); 134CodeAssignStatement setScriptTimeout = new CodeAssignStatement(); 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 (2)
99return new CodeAssignStatement(indexerExpr, valueExpr); 303CodeAssignStatement assign = new CodeAssignStatement();
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
51CodeAssignStatement readResource = new CodeAssignStatement(); 73CodeAssignStatement setProp = new CodeAssignStatement(
Configuration\BrowserCapabilitiesCodeGenerator.cs (13)
914CodeAssignStatement cas = new CodeAssignStatement(); 934CodeAssignStatement cas = new CodeAssignStatement(); 972CodeAssignStatement cas = new CodeAssignStatement(); 1051CodeAssignStatement codeAssignStmt = new CodeAssignStatement(); 1130cmm.Statements.Add(new CodeAssignStatement(_regexWorkerRefExpr, new CodeObjectCreateExpression("RegexWorker", _browserCapsRefExpr))); 1154CodeAssignStatement assign = new CodeAssignStatement( 1178CodeAssignStatement valueAssignment = new CodeAssignStatement(); 1228assign = new CodeAssignStatement(); 1262CodeAssignStatement valueAssignment = new CodeAssignStatement(); 1289assign = new CodeAssignStatement(); 1404assign = new CodeAssignStatement(); 1436CodeAssignStatement assignAdapter = new CodeAssignStatement(); 1444CodeAssignStatement assignHtmlTextWriter = 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 (3)
Rules\Parser\Parser.cs (1)
1233result = new CodeAssignStatement(postfixExpr, rhsExpr);
Rules\Statements.cs (1)
234CodeAssignStatement newStatement = new CodeAssignStatement();
WebServiceReceive.cs (1)
849CodeAssignStatement assignStatement = new CodeAssignStatement();
System.Workflow.ComponentModel (4)
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
96CodeAssignStatement beginInit = new CodeAssignStatement(); 104CodeAssignStatement endInit = new CodeAssignStatement();
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));
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (1)
309CodeAssignStatement propertySet = new CodeAssignStatement();
System\Xml\Serialization\XmlCodeExporter.cs (1)
476CodeAssignStatement assign = new CodeAssignStatement();
XamlBuildTask (18)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (18)
416new CodeAssignStatement() 543tryStatements.Add(new CodeAssignStatement(xmlReaderVar, xmlReader)); 551new CodeAssignStatement( 561new CodeAssignStatement( 567tryStatements.Add(new CodeAssignStatement(xamlReaderVar, newReader)); 574tryStatements.Add(new CodeAssignStatement() 581tryStatements.Add(new CodeAssignStatement() 596tryStatements.Add(new CodeAssignStatement(objWriterVar, newObjectWriter)); 617new CodeAssignStatement( 756IncrementStatement = new CodeAssignStatement() 937new 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,
106 references to CodeAssignStatement
PresentationBuildTasks (6)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (6)
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),
System (12)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1068else if (e is CodeAssignStatement) { 1069GenerateAssignStatement((CodeAssignStatement)e); 1539private void GenerateAssignStatement(CodeAssignStatement e) {
compmod\microsoft\visualbasic\VBCodeProvider.cs (1)
1597protected override void GenerateAssignStatement(CodeAssignStatement e) {
compmod\system\codedom\CodeAssignStatement.cs (2)
33/// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/>. 41/// Initializes a new instance of <see cref='System.CodeDom.CodeAssignStatement'/> that represents the
compmod\system\codedom\compiler\CodeGenerator.cs (3)
908else if (e is CodeAssignStatement) { 909GenerateAssignStatement((CodeAssignStatement)e); 1683protected abstract void GenerateAssignStatement(CodeAssignStatement e);
compmod\system\codedom\compiler\CodeValidator.cs (3)
372else if (e is CodeAssignStatement) { 373ValidateAssignStatement((CodeAssignStatement)e); 466private void ValidateAssignStatement(CodeAssignStatement e) {
System.Activities (5)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (5)
1110CodeAssignStatement cacheIndexInitializer = new CodeAssignStatement( 1328CodeAssignStatement assignId = new CodeAssignStatement( 1589CodeAssignStatement statement = new CodeAssignStatement(new CodeSnippetExpression(expressionText), new CodeArgumentReferenceExpression(paramName)); 1860CodeAssignStatement assignLocationsOffsetStatement = new CodeAssignStatement( 2252CodeAssignStatement setexpectedLocationsCountStatement = new CodeAssignStatement(
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
460CodeAssignStatement assignStmt = new CodeAssignStatement(); {
System.Data.Entity.Design (5)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (5)
395CodeAssignStatement EdmEntityContainerNameStatement = 399CodeAssignStatement StoreEntityContainerNameStatement = 403CodeAssignStatement HashOverMappingClosureStatement = 407CodeAssignStatement HashOverAllExtentViewsStatement = 411CodeAssignStatement ViewCountStatement =
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
1672CodeAssignStatement setNode = new CodeAssignStatement(); 1754CodeAssignStatement setObjectData = new CodeAssignStatement(); 1892CodeAssignStatement propertySet = new CodeAssignStatement(); 1952CodeAssignStatement propertySet = new CodeAssignStatement();
System.Web (54)
Compilation\BaseTemplateCodeDomTreeGenerator.cs (16)
292CodeAssignStatement setCtl = new CodeAssignStatement(ctrlRefExpr, newExpr); 301CodeAssignStatement underscoreCtlSet = new CodeAssignStatement(ctrlNameExpr, ctrlRefExpr); 315CodeAssignStatement set = new CodeAssignStatement(); 351CodeAssignStatement set = new CodeAssignStatement(); 491CodeAssignStatement setStatement = new CodeAssignStatement(); 640CodeAssignStatement setCtl = new CodeAssignStatement(childCtrlRefExpr, methCallExpression); 762CodeAssignStatement setStatment = new CodeAssignStatement(leftExpr, rightExpr); 815CodeAssignStatement setCtl = new CodeAssignStatement(childCtrlRefExpr, methCallExpression); 829CodeAssignStatement set = new CodeAssignStatement(); 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), 1695protected virtual CodeAssignStatement BuildTemplatePropertyStatement(CodeExpression ctrlRefExpr) { 1698CodeAssignStatement assign = 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\PageCodeDomTreeGenerator.cs (19)
89CodeAssignStatement assignDependencies = new CodeAssignStatement(); 99CodeAssignStatement addFileDep = new CodeAssignStatement(); 110CodeAssignStatement initFile = new CodeAssignStatement(); 134CodeAssignStatement setScriptTimeout = new CodeAssignStatement(); 208CodeAssignStatement setOutputCacheObject = 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( 306CodeAssignStatement assignOutputCacheSettings = 379CodeAssignStatement setStatment = new CodeAssignStatement(leftExpr, rightExpr); 435CodeAssignStatement statement = new CodeAssignStatement(left, right);
Compilation\PageThemeCodeDomTreeGenerator.cs (2)
300protected override CodeAssignStatement BuildTemplatePropertyStatement(CodeExpression ctrlRefExpr) { 303CodeAssignStatement assign = new CodeAssignStatement();
Compilation\TemplateControlCodeDomTreeGenerator.cs (2)
51CodeAssignStatement readResource = new CodeAssignStatement(); 73CodeAssignStatement setProp = new CodeAssignStatement(
Configuration\BrowserCapabilitiesCodeGenerator.cs (10)
914CodeAssignStatement cas = new CodeAssignStatement(); 934CodeAssignStatement cas = new CodeAssignStatement(); 972CodeAssignStatement cas = new CodeAssignStatement(); 1051CodeAssignStatement codeAssignStmt = new CodeAssignStatement(); 1154CodeAssignStatement assign = new CodeAssignStatement( 1178CodeAssignStatement valueAssignment = new CodeAssignStatement(); 1262CodeAssignStatement valueAssignment = new CodeAssignStatement(); 1398CodeAssignStatement assign; 1436CodeAssignStatement assignAdapter = new CodeAssignStatement(); 1444CodeAssignStatement assignHtmlTextWriter = new CodeAssignStatement();
System.Web.Services (2)
System\Web\Services\Description\ProtocolImporter.cs (1)
649CodeAssignStatement assignUrlStatement = null;
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
30CodeAssignStatement assignVersionStatement = new CodeAssignStatement(versionPropertyReference, versionEnumFieldReference);
System.Workflow.Activities (8)
Rules\Statements.cs (6)
101private CodeAssignStatement assignStatement; 103private AssignmentStatement(CodeAssignStatement assignStatement) 110return new AssignmentStatement((CodeAssignStatement)statement); 226CodeAssignStatement comperandStatement = comperand as CodeAssignStatement; 234CodeAssignStatement newStatement = new CodeAssignStatement();
Rules\Walker.cs (1)
234else if (statementType == typeof(CodeAssignStatement))
WebServiceReceive.cs (1)
849CodeAssignStatement assignStatement = new CodeAssignStatement();
System.Workflow.ComponentModel (5)
AuthoringOM\Serializer\ActivityTypeCodeDomSerializer.cs (2)
96CodeAssignStatement beginInit = new CodeAssignStatement(); 104CodeAssignStatement endInit = new CodeAssignStatement();
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
127if (statement is CodeAssignStatement && ((CodeAssignStatement)statement).Left is CodePropertyReferenceExpression) 129CodePropertyReferenceExpression prop = ((CodeAssignStatement)statement).Left as CodePropertyReferenceExpression;
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (1)
309CodeAssignStatement propertySet = new CodeAssignStatement();
System\Xml\Serialization\XmlCodeExporter.cs (1)
476CodeAssignStatement assign = new CodeAssignStatement();
XamlBuildTask (2)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (2)
1163CodeAssignStatement assignSchemaContext = new CodeAssignStatement(xsc, 1182CodeAssignStatement assignSchemaContextField = new CodeAssignStatement(schemaContext, typeof(WeakReference).New(xsc));