621 references to CodeVariableReferenceExpression
PresentationBuildTasks (4)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (4)
989
CodeVariableReferenceExpression cvreES = new
CodeVariableReferenceExpression
(EVENTSETTER);
2616
CodeVariableReferenceExpression cvreMemStm = new
CodeVariableReferenceExpression
(resVarname);
3043
CodeVariableReferenceExpression cvre = new
CodeVariableReferenceExpression
(APPVAR);
3210
CodeVariableReferenceExpression cvreAppSplash = new
CodeVariableReferenceExpression
(SPLASHVAR);
System.Activities (55)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (55)
506
new
CodeVariableReferenceExpression
("locationsOffset")))));
519
new
CodeVariableReferenceExpression
("locationsOffset")),
764
new
CodeVariableReferenceExpression
(rootActivityFieldName),
782
new
CodeVariableReferenceExpression
(rootActivityFieldName)));
853
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("expressionId"), CodeBinaryOperatorType.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
859
getLocationsMethod.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("returnLocations")));
868
new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
("returnLocations"), "Add"),
905
new CodeObjectCreateExpression(new CodeTypeReference(descriptor.TypeName), new CodeExpression[] { new
CodeVariableReferenceExpression
("locationReferences") }),
908
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("expressionId"), CodeBinaryOperatorType.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
995
CodeBinaryOperatorExpression idExpression = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("expressionId"), CodeBinaryOperatorType.ValueEquality, new CodePrimitiveExpression(descriptor.Id));
1085
new
CodeVariableReferenceExpression
("activityContext"),
1095
new
CodeVariableReferenceExpression
("cachedCompiledDataContext"),
1158
new
CodeVariableReferenceExpression
(dataContextVariableName),
1162
new
CodeVariableReferenceExpression
(dataContextVariableName),
1167
getExpression = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dataContextVariableName), descriptor.GetMethodName);
1168
setExpression = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dataContextVariableName), descriptor.SetMethodName);
1172
new
CodeVariableReferenceExpression
(dataContextVariableName),
1182
new
CodeVariableReferenceExpression
("expressionId"),
1186
new
CodeVariableReferenceExpression
("activityContext") };
1225
new
CodeVariableReferenceExpression
(dataContextVariableName), descriptor.GetMethodName));
1252
new
CodeVariableReferenceExpression
(dataContextVariableName), descriptor.StatementMethodName));
1296
new
CodeVariableReferenceExpression
("isReference"),
1301
new
CodeVariableReferenceExpression
("expressionText"),
1309
new
CodeVariableReferenceExpression
("locations"),
1329
new
CodeVariableReferenceExpression
("expressionId"),
1343
new
CodeVariableReferenceExpression
("expressionId"),
1359
new
CodeVariableReferenceExpression
("locations"),
1360
new
CodeVariableReferenceExpression
("activityContext"),
1367
new CodeExpression[] { new
CodeVariableReferenceExpression
("locations"),
1513
new CodeExpression[] { new
CodeVariableReferenceExpression
("expression") });
1615
setExpression.Parameters.Add(new
CodeVariableReferenceExpression
(expressionMethod.Parameters[0].Name));
1691
new
CodeVariableReferenceExpression
("locationsOffset"))));
1727
new
CodeVariableReferenceExpression
("locationsOffset")),
1842
new
CodeVariableReferenceExpression
("compiledRoot"),
1843
new
CodeVariableReferenceExpression
(forImplementationName))));
1861
new
CodeVariableReferenceExpression
("locationsOffset"),
1862
new
CodeVariableReferenceExpression
("locationsOffsetValue"));
1868
new CodeBaseReferenceExpression(), "SetLocationsOffset", new
CodeVariableReferenceExpression
("locationsOffset"));
1900
new
CodeVariableReferenceExpression
(dataContextActivitiesFieldName),
1901
new
CodeVariableReferenceExpression
("activityContext"),
1902
new
CodeVariableReferenceExpression
("compiledRoot"),
1903
new
CodeVariableReferenceExpression
(forImplementationName),
1904
new
CodeVariableReferenceExpression
("compiledDataContextCount"))));
1997
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("locations"), "Count"),
1999
new
CodeVariableReferenceExpression
("expectedLocationsCount"))));
2002
new
CodeVariableReferenceExpression
("computelocationsOffset"),
2214
new
CodeVariableReferenceExpression
("validateLocationCount"),
2220
new
CodeVariableReferenceExpression
("locationReferences"),
2243
new CodeAssignStatement(new
CodeVariableReferenceExpression
("offset"),
2245
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("locationReferences"), "Count"),
2253
new
CodeVariableReferenceExpression
("expectedLocationsCount"),
2277
new
CodeVariableReferenceExpression
("locationReferences"),
2279
new
CodeVariableReferenceExpression
("offset"));
2304
new
CodeVariableReferenceExpression
("locationReferences"),
2305
new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("offset"),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1440
private static CodeExpression Variable(string variable) { return new
CodeVariableReferenceExpression
(variable);}
System.Data.Entity.Design (6)
System\Data\Entity\Design\EntityViewGeneration\EntityViewGenerator.cs (2)
501
CodeVariableReferenceExpression indexParameterReference = new
CodeVariableReferenceExpression
(getViewAtMethod.Parameters[0].Name);
617
return new
CodeVariableReferenceExpression
("viewString");
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (3)
544
executeArguments.Add(new
CodeVariableReferenceExpression
(adjustedParameterName));
589
CodeExpression variableReference = new
CodeVariableReferenceExpression
(variableName);
590
CodeExpression parameterReference = new
CodeVariableReferenceExpression
(adjustedParameterName);
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
192
CodeVariableReferenceExpression instanceRef = new
CodeVariableReferenceExpression
(instanceName);
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (7)
279
new
CodeVariableReferenceExpression
("typeName"),
299
new
CodeVariableReferenceExpression
("typeName"),
339
new
CodeVariableReferenceExpression
("clientType"),
352
new
CodeVariableReferenceExpression
("clientType"),
364
new
CodeVariableReferenceExpression
("clientType"),
376
new
CodeVariableReferenceExpression
("ROOTNAMESPACE"),
439
new
CodeVariableReferenceExpression
("ROOTNAMESPACE"),
System\Data\EntityModel\Emitters\StructuredTypeEmitter.cs (1)
183
CodeVariableReferenceExpression instanceRef = new
CodeVariableReferenceExpression
(instanceName);
System.Management (443)
WmiGenerator.cs (443)
378
new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString()),true, GetString("COMMENT_STATICSCOPEPROPERTY"),true);
1066
cpre = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(
1072
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
1085
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
1096
cmie.Parameters.Add(new
CodeVariableReferenceExpression
("value"));
1139
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()),new
CodeVariableReferenceExpression
("ManagedObject")));
1189
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()),
1287
new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
1545
new CodeArrayIndexerExpression(new
CodeVariableReferenceExpression
("value"),
1573
cmie.Method.TargetObject = new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString());
1577
cboe = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["AutoCommitProperty"].ToString()),
1581
CodeBinaryOperatorExpression cboe1 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString()),
2115
CodeMethodInvokeExpression cmie1 = GenerateConcatStrings(new
CodeVariableReferenceExpression
("key"+arrKeys[i]),new CodePrimitiveExpression("\""));
2121
cmietoAdd = GenerateConcatStrings(new
CodeVariableReferenceExpression
(strPathObject),cmie3);
2129
cmie.Method.TargetObject = new CodeCastExpression(new CodeTypeReference(((CodeTypeReference)arrKeyType[i]).BaseType + " "),new
CodeVariableReferenceExpression
("key"+arrKeys[i]));
2134
cmietoAdd = GenerateConcatStrings(new
CodeVariableReferenceExpression
(strPathObject),cmie1);
2137
cmm.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strPathObject),cmietoAdd));
2139
cmm.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(strPathObject)));
2217
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
("dummyParam"),new CodePrimitiveExpression(null)));
2228
cmie.Parameters.Add(new
CodeVariableReferenceExpression
("key"+arrKeys[i]));
2276
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
("dummyParam"),new CodePrimitiveExpression(null)));
2281
new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString())));
2289
cmie.Parameters.Add(new
CodeVariableReferenceExpression
("key"+arrKeys[i]));
2327
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2357
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2358
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2384
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2385
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2409
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2456
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2485
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2497
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2543
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2544
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2545
cmieInit.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2580
cpre = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strLateBoundObject),LateBoundSystemProperties);
2587
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strLateBoundObject));
2596
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()),
2597
new
CodeVariableReferenceExpression
(strLateBoundObject)));
2601
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()));
2602
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2603
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
2604
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString())));
2654
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strLateBoundObject));
2664
new
CodeVariableReferenceExpression
(PrivateNamesUsed["EmbeddedObject"].ToString()),
2665
new
CodeVariableReferenceExpression
(strLateBoundObject)));
2669
coce.Parameters.Add(new
CodeVariableReferenceExpression
(strLateBoundObject));
2670
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["SystemPropertiesObject"].ToString()),coce));
2671
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
2672
new
CodeVariableReferenceExpression
(PrivateNamesUsed["EmbeddedObject"].ToString())));
2674
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString()),
2733
cis.Condition = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(strPathObject),
2742
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2743
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2744
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2761
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
2762
coce.Parameters.Add(new
CodeVariableReferenceExpression
(strPathObject));
2763
coce.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
2764
cmmInit.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(
2769
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()));
2770
cmmInit.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(
2774
cmmInit.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
2775
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString())));
2784
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()),
2890
cboe.Left = new
CodeVariableReferenceExpression
("IsMethodStatic");
2895
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
2914
cocePath.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CreationClassName"].ToString()));
2919
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString()));
2920
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(strPath));
2936
new
CodeVariableReferenceExpression
(bStatic ? strClassObj : PrivateNamesUsed["LateBoundObject"].ToString()),
2962
new
CodeVariableReferenceExpression
(strTemp),
2965
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strInParams),cmie));
2998
cie = new CodeIndexerExpression(new
CodeVariableReferenceExpression
(strInParams),new CodePrimitiveExpression(prop.Name));
3007
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new
CodeVariableReferenceExpression
(cpde.Name));
3016
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,"System.TimeSpan",new
CodeVariableReferenceExpression
(cpde.Name));
3020
AddPropertySet(cie,prop.IsArray,cis.TrueStatements,"System.DateTime",new
CodeVariableReferenceExpression
(cpde.Name));
3030
new
CodeVariableReferenceExpression
(cpde.Name))));
3034
cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(cpde.Type,new
CodeVariableReferenceExpression
(cpde.Name))));
3061
new
CodeVariableReferenceExpression
(strTemp),
3065
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strInParams));
3117
cpre = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strOutParams),"Properties");
3124
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new
CodeVariableReferenceExpression
(prop.Name),true);
3133
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,"System.TimeSpan",new
CodeVariableReferenceExpression
(prop.Name),true);
3137
GenerateCodeForRefAndDateTimeTypes(cie,prop.IsArray,cis.TrueStatements,"System.DateTime",new
CodeVariableReferenceExpression
(prop.Name),true);
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),
3209
new
CodeVariableReferenceExpression
(strTemp),
3214
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strInParams));
3225
cpre = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strOutParams),"Properties");
3227
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(inoutParams[i].ToString()),
3236
cis.TrueStatements.Add(new CodeAssignStatement(cprePriveleges, new
CodeVariableReferenceExpression
(PrivateNamesUsed["Privileges"].ToString())));
3243
cpre = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strOutParams),"Properties");
3249
cmm.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
("retVar"),new CodePrimitiveExpression(null)));
3253
GenerateCodeForRefAndDateTimeTypes(cie,isRetArray,cis.TrueStatements,PublicNamesUsed["PathClass"].ToString(),new
CodeVariableReferenceExpression
("retVar"),true);
3254
cis.TrueStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("retVar")));
3261
cmm.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
("retVar"),
3265
GenerateCodeForRefAndDateTimeTypes(cie,isRetArray,cis.TrueStatements,"System.DateTime",new
CodeVariableReferenceExpression
("retVar"),true);
3266
cis.TrueStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("retVar")));
3267
cis.FalseStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("retVar")));
3281
cmm.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
("retVar"),coce));
3284
GenerateCodeForRefAndDateTimeTypes(cie,isRetArray,cis.TrueStatements,"System.TimeSpan",new
CodeVariableReferenceExpression
("retVar"),true);
3285
cis.TrueStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("retVar")));
3286
cis.FalseStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("retVar")));
3375
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strCondition));
3407
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strSelectedProperties));
3439
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strCondition));
3440
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strSelectedProperties));
3488
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString());
3495
cboe1.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString());
3502
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3505
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),
3510
cis1.FalseStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),
3511
new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString())));
3523
new
CodeVariableReferenceExpression
(pathObj),"ClassName"),
3527
new
CodeVariableReferenceExpression
(pathObj),"NamespacePath"),
3533
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
3534
coce.Parameters.Add(new
CodeVariableReferenceExpression
(pathObj));
3542
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString());
3549
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString()),
3552
new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString()),
3563
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(strClass),"GetInstances");
3564
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString()));
3596
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
3597
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strCondition));
3628
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
3630
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strSelectedProperties));
3668
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString());
3676
cboe1.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString());
3683
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),coce));
3686
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),
3690
cis1.FalseStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()),
3691
new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString())));
3699
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(strCondition));
3700
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(strSelectedProperties));
3704
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
3718
new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString()),
3725
new
CodeVariableReferenceExpression
(strObjectSearcher),
3727
new
CodeVariableReferenceExpression
(PrivateNamesUsed["EnumParam"].ToString())));
3731
coce.Parameters.Add(new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(strObjectSearcher),
3838
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(baseTypeParam));
3840
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),cmie));
3843
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(typeMemberVariable),new
CodeVariableReferenceExpression
(baseTypeParam)));
3862
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"CanConvertFrom");
3863
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3864
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(srcType));
3886
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"CanConvertTo");
3887
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3888
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(TypeDstObject));
3911
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"ConvertFrom");
3912
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3913
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(CultureInfoVar));
3914
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(ValueVar));
3936
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"CreateInstance");
3937
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3938
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(DictVar));
3958
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetCreateInstanceSupported");
3959
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3981
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetProperties");
3982
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
3983
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(ValueVar));
3984
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(AttributeVar));
4002
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetPropertiesSupported");
4003
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
4021
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetStandardValues");
4022
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
4040
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetStandardValuesExclusive");
4041
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
4059
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"GetStandardValuesSupported");
4060
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
4115
cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(baseTypeMemberVariable),"ConvertTo");
4116
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(contextObject));
4117
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(CultureInfoVar));
4118
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(ValueVar));
4119
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(TypeDstObject));
4126
new
CodeVariableReferenceExpression
(typeMemberVariable),
4148
new
CodeVariableReferenceExpression
("value"),"GetType");
4149
cboe2.Right = new
CodeVariableReferenceExpression
("destinationType");
4152
cis.TrueStatements.Add(new CodeConditionStatement(cboe2,new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
("value"))));
4155
CodeBinaryOperatorExpression cboe3 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("value"),
4159
CodeBinaryOperatorExpression cboe4 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(contextObject),
4168
cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4169
cmie.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"Instance"));
4190
cboe1.Left = new
CodeVariableReferenceExpression
(typeMemberVariable);
4196
new
CodeVariableReferenceExpression
(typeMemberVariable),
4220
cboe3 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
("value"),
4224
cboe4 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(contextObject),
4233
cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4234
cmie.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"Instance"));
4261
cboe1 = new CodeBinaryOperatorExpression(new
CodeVariableReferenceExpression
(contextObject),
4265
cmie = new CodeMethodInvokeExpression(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"PropertyDescriptor"),"ShouldSerializeValue");
4266
cmie.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(contextObject),"Instance"));
4328
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strObjectCollection),
4329
new
CodeVariableReferenceExpression
(strobjCollection)));
4346
new
CodeVariableReferenceExpression
(strObjectCollection),
4364
new
CodeVariableReferenceExpression
(strObjectCollection),
4412
new
CodeVariableReferenceExpression
(strObjectCollection),
4416
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strArray));
4417
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strIndex));
4424
cfls.InitStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),new CodePrimitiveExpression(0));
4426
cboe.Left = new
CodeVariableReferenceExpression
(strnCtr);
4428
cboe.Right = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strArray),"Length");
4430
cfls.IncrementStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),
4432
new
CodeVariableReferenceExpression
(strnCtr),
4437
new
CodeVariableReferenceExpression
(strArray),
4441
new
CodeVariableReferenceExpression
(strArray),
4443
new
CodeVariableReferenceExpression
(strnCtr));
4453
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strnCtr));
4472
coce.Parameters.Add(new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(strObjectCollection),"GetEnumerator"));
4545
cctor.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strObjectEnumerator),
4546
new
CodeVariableReferenceExpression
(strobjEnum)));
4566
new
CodeVariableReferenceExpression
(strObjectEnumerator),
4596
new
CodeVariableReferenceExpression
(strObjectEnumerator),
4614
new
CodeVariableReferenceExpression
(strObjectEnumerator),
5063
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
5069
cmie.Method.TargetObject = new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString());
5097
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
5103
cmie.Method.TargetObject = new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString());
5105
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["putOptions"].ToString()));
5440
new
CodeVariableReferenceExpression
(PrivateNamesUsed["CreationClassName"].ToString())));
5445
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString());
5453
cboe1.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
5461
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strRetVar),
5463
new CodeIndexerExpression(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CurrentObject"].ToString()),
5469
cboe3.Left = new
CodeVariableReferenceExpression
(strRetVar);
5474
cboe4.Left = new
CodeVariableReferenceExpression
(strRetVar);
5485
cis2.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strRetVar),
5486
new
CodeVariableReferenceExpression
(PrivateNamesUsed["CreationClassName"].ToString())));
5492
cmp.GetStatements.Add (new CodeMethodReturnStatement (new
CodeVariableReferenceExpression
(strRetVar)));
5517
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strPathParam),"ClassName"),
5536
cboe1.Left = new
CodeVariableReferenceExpression
(strPathParam);
5552
coce.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["ScopeParam"].ToString()));
5553
coce.Parameters.Add(new
CodeVariableReferenceExpression
(strPathParam));
5554
coce.Parameters.Add(new
CodeVariableReferenceExpression
(strGetOptions));
5590
new CodeIndexerExpression(new
CodeVariableReferenceExpression
(strTempObj),
5609
cboe1.Left = new
CodeVariableReferenceExpression
(strTempObj);
5624
new CodeIndexerExpression(new
CodeVariableReferenceExpression
(strTempObj),
5632
cboe.Left = new
CodeVariableReferenceExpression
(strDerivation);
5640
cfls.InitStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),new CodePrimitiveExpression(0));
5642
cboe.Left = new
CodeVariableReferenceExpression
(strnCtr);
5644
cboe.Right = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strDerivation),"Length");
5646
cfls.IncrementStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),
5648
new
CodeVariableReferenceExpression
(strnCtr),
5654
cmie1.Method.TargetObject = new
CodeVariableReferenceExpression
(strDerivation);
5655
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(strnCtr));
5811
new
CodeVariableReferenceExpression
(strLength)
5825
cboe1.Left = new
CodeVariableReferenceExpression
(strnCtr);
5827
cboe1.Right = new
CodeVariableReferenceExpression
(strLength);
5832
new
CodeVariableReferenceExpression
(strnCtr),
5834
new
CodeVariableReferenceExpression
(strnCtr),
5850
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(strnCtr));
5856
cfls.Statements.Add( new CodeAssignStatement(new CodeIndexerExpression(new
CodeVariableReferenceExpression
(strArray),
5857
new
CodeVariableReferenceExpression
(strnCtr)),CreateObjectForProperty(strType,cmie2)));
5862
cis1.TrueStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(strArray)));
5870
cis1.TrueStatements.Add(new CodeAssignStatement(varToAssign ,new
CodeVariableReferenceExpression
(strArray)));
5885
varValue = new
CodeVariableReferenceExpression
("value");
5932
new
CodeVariableReferenceExpression
(strLength)
5946
cboe1.Left = new
CodeVariableReferenceExpression
(strnCtr);
5948
cboe1.Right = new
CodeVariableReferenceExpression
(strLength);
5954
new
CodeVariableReferenceExpression
(strnCtr),
5956
new
CodeVariableReferenceExpression
(strnCtr),
5966
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(strnCtr));
5968
cfls.Statements.Add( new CodeAssignStatement(new CodeIndexerExpression(new
CodeVariableReferenceExpression
(strArray),
5969
new
CodeVariableReferenceExpression
(strnCtr)),ConvertPropertyToString(strType,cmie1)));
5973
cis1.TrueStatements.Add(new CodeAssignStatement(prop,new
CodeVariableReferenceExpression
(strArray)));
6097
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
6103
new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString()),"Scope");
6111
cboe.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["IsEmbedded"].ToString());
6139
new
CodeVariableReferenceExpression
(strArray),"Length"))));
6144
cfls.InitStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),new CodePrimitiveExpression(0));
6146
cboe1.Left = new
CodeVariableReferenceExpression
(strnCtr);
6148
cboe1.Right = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strArray),"Length");
6150
cfls.IncrementStatement = new CodeAssignStatement(new
CodeVariableReferenceExpression
(strnCtr),
6152
new
CodeVariableReferenceExpression
(strnCtr),
6159
cmie1.Method.TargetObject = new
CodeVariableReferenceExpression
(strArray);
6160
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(strnCtr));
6166
cfls.Statements.Add(new CodeAssignStatement(new CodeIndexerExpression(new
CodeVariableReferenceExpression
(ArrToRet),
6167
new
CodeVariableReferenceExpression
(strnCtr)),
6173
cmProp.GetStatements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(ArrToRet)));
6318
cboe1.Left = new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString());
6325
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strScope),coce));
6328
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strScope),
6330
new
CodeVariableReferenceExpression
(PrivateNamesUsed["CreationWmiNamespace"].ToString())));
6333
cis1.FalseStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strScope),
6334
new
CodeVariableReferenceExpression
(PrivateNamesUsed["statMgmtScope"].ToString())));
6341
cocePath.Parameters.Add(new
CodeVariableReferenceExpression
(PrivateNamesUsed["CreationClassName"].ToString()));
6346
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(strScope));
6347
coce1.Parameters.Add(new
CodeVariableReferenceExpression
(strPath));
6355
cmie1.Method.TargetObject = new
CodeVariableReferenceExpression
(strTemp);
6391
cmie1.Method.TargetObject = new
CodeVariableReferenceExpression
(PrivateNamesUsed["LateBoundObject"].ToString());
6448
CodeVariableReferenceExpression cvreInitializer = new
CodeVariableReferenceExpression
("initializer");
6471
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.String"),dmtf,new
CodeVariableReferenceExpression
(dmtfParam)));
6489
cboe.Left = new
CodeVariableReferenceExpression
(dmtf);
6510
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dmtf),"Length");
6528
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dmtf),"Length");
6554
CodeMethodReferenceExpression cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dmtf),"Substring");
6559
tryblock.TryStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(tempStr), cmie));
6564
cboe.Right = new
CodeVariableReferenceExpression
(tempStr);
6572
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(tempStr));
6585
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(ticks),cboe2));
6597
cboeYear.Left = new
CodeVariableReferenceExpression
(year);
6603
cboeMonth.Left = new
CodeVariableReferenceExpression
(month);
6608
cboeDay.Left = new
CodeVariableReferenceExpression
(day);
6613
cboeHour.Left = new
CodeVariableReferenceExpression
(hour);
6618
cboeMinute.Left = new
CodeVariableReferenceExpression
(minute);
6623
cboeSecond.Left = new
CodeVariableReferenceExpression
(second);
6628
cboeTicks.Left = new
CodeVariableReferenceExpression
(ticks);
6690
new
CodeVariableReferenceExpression
(exceptVar),
6710
coce.Parameters.Add(new
CodeVariableReferenceExpression
(year));
6711
coce.Parameters.Add(new
CodeVariableReferenceExpression
(month));
6712
coce.Parameters.Add(new
CodeVariableReferenceExpression
(day));
6713
coce.Parameters.Add(new
CodeVariableReferenceExpression
(hour));
6714
coce.Parameters.Add(new
CodeVariableReferenceExpression
(minute));
6715
coce.Parameters.Add(new
CodeVariableReferenceExpression
(second));
6718
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(datetimeVariable),coce));
6723
CodeMethodReferenceExpression cmre2 = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(datetimeVariable),"AddTicks");
6726
cmie2.Parameters.Add(new
CodeVariableReferenceExpression
(ticks));
6728
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(datetimeVariable),cmie2));
6737
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(datetimeVariable));
6755
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tickoffset),"Ticks");
6767
cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dmtf),"Substring");
6772
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(tempStr), cmie));
6795
cboe.Left = new
CodeVariableReferenceExpression
(tempStr);
6802
cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dmtf),"Substring");
6807
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(tempStr), cmie));
6814
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(tempStr));
6815
tryblock2.TryStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(utcOffset), cmie));
6826
cboe.Left = new
CodeVariableReferenceExpression
(OffsetMins);
6827
cboe.Right = new
CodeVariableReferenceExpression
(utcOffset);
6829
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(offsetAdjust),new CodeCastExpression(new CodeTypeReference("System.Int32"),cboe)));
6831
cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(datetimeVariable),"AddMinutes");
6834
cmie.Parameters.Add(new CodeCastExpression("System.Double",new
CodeVariableReferenceExpression
(offsetAdjust)));
6835
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(datetimeVariable),cmie));
6842
cmmdt.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(datetimeVariable)));
6857
CodeMethodReferenceExpression cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dmtfVarName),"Substring");
6862
cmmdt.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(tempVarName), cmie));
6866
cboe.Right = new
CodeVariableReferenceExpression
(tempVarName);
6874
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(tempVarName));
6876
cis.TrueStatements.Add( new CodeAssignStatement(new
CodeVariableReferenceExpression
(toAssign),cmie));
6902
new
CodeVariableReferenceExpression
(timespan),"Days"
6944
new
CodeVariableReferenceExpression
(timespan),
6951
new
CodeVariableReferenceExpression
("maxTimeSpan"),
6974
new
CodeVariableReferenceExpression
(timespan),
6981
new
CodeVariableReferenceExpression
("minTimeSpan"),
6995
cpre1 = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Hours");
7004
CodeMethodInvokeExpression cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie1);
7006
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7012
cpre1 = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Minutes");
7021
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie1);
7023
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7029
cpre1 = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Seconds");
7038
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie1);
7040
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7045
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),new CodePrimitiveExpression("."));
7047
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7054
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Days"));
7055
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Hours"));
7056
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Minutes"));
7057
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Seconds"));
7066
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Ticks");
7067
cboe.Right = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tsTemp),"Ticks");
7094
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new
CodeVariableReferenceExpression
(microsec)),"ToString");
7104
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"Length");
7113
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"Substring");
7117
cis.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strmicrosec),cmie));
7125
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"PadLeft");
7130
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie);
7132
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7134
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfTimeSpan),new CodePrimitiveExpression(":000"));
7136
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan),cmie2));
7138
cmmts.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(dmtfTimeSpan)));
7178
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(dateParam));
7191
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tickoffset),"Ticks");
7213
cmie1.Parameters.Add(new
CodeVariableReferenceExpression
(OffsetMins));
7223
cmre = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"ToUniversalTime");
7227
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dateParam),cmie1));
7228
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strUtc),new CodePrimitiveExpression("+000")));
7237
cboe1.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tickoffset),"Ticks");
7245
cboe2.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tickoffset),"Ticks");
7257
cis2.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strUtc),
7268
cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new CodeTypeReference("System.Int64 "),new
CodeVariableReferenceExpression
(OffsetMins)),"ToString");
7272
cmie2.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
("strTemp"),"Substring");
7274
cmie2.Parameters.Add(new CodeBinaryOperatorExpression(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("strTemp"),"Length"),
7284
cis2.FalseStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strUtc),
7296
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),
7339
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfDateTime),
7340
GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfDateTime),new CodePrimitiveExpression("."))));
7348
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Year"));
7349
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Month"));
7350
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Day"));
7351
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Hour"));
7352
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Minute"));
7353
coce.Parameters.Add(new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Second"));
7363
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),"Ticks");
7364
cboe.Right = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dtTemp),"Ticks");
7390
new
CodeVariableReferenceExpression
(microsec)),"ToString");
7400
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"Length");
7409
cmie1.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"Substring");
7413
cis1.TrueStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strmicrosec),cmie1));
7421
cmie1.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(strmicrosec),"PadLeft");
7425
cmie2 = GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfDateTime),cmie1);
7426
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfDateTime),cmie2));
7433
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfDateTime),
7434
GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfDateTime),
7435
new
CodeVariableReferenceExpression
(strUtc))));
7437
cmmdt.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(dmtfDateTime)));
7450
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(dateParam),
7464
cmmdt.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(dmtfDateTime),
7465
GenerateConcatStrings(new
CodeVariableReferenceExpression
(dmtfDateTime),
7505
cboe.Left = new
CodeVariableReferenceExpression
(tsParam);
7526
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tsParam),"Length");
7545
cboe.Left = new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
(tsParam),"Length");
7563
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(tsParam),"Substring");
7611
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(tsParam),"Substring");
7615
tryblock.TryStatements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strTemp),cmie));
7619
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strTemp));
7627
new
CodeVariableReferenceExpression
(ticks),
7654
cboeDays.Left = new
CodeVariableReferenceExpression
(days);
7660
cboeHours.Left = new
CodeVariableReferenceExpression
(hours);
7665
cboeMinutes.Left = new
CodeVariableReferenceExpression
(minutes);
7670
cboeSeconds.Left = new
CodeVariableReferenceExpression
(seconds);
7675
cboeTicks.Left = new
CodeVariableReferenceExpression
(ticks);
7721
new
CodeVariableReferenceExpression
(exceptVar),
7742
coce.Parameters.Add(new
CodeVariableReferenceExpression
(days));
7743
coce.Parameters.Add(new
CodeVariableReferenceExpression
(hours));
7744
coce.Parameters.Add(new
CodeVariableReferenceExpression
(minutes));
7745
coce.Parameters.Add(new
CodeVariableReferenceExpression
(seconds));
7757
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(ticks));
7762
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(timespan),"Add");
7763
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(tsTemp));
7765
cmmts.Statements.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(timespan),cmie));
7771
cmmts.Statements.Add(new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(timespan)));
7783
cmie.Method = new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(tsParam),"Substring");
7787
statCol.Add(new CodeAssignStatement(new
CodeVariableReferenceExpression
(strTemp),cmie));
7791
cmie.Parameters.Add(new
CodeVariableReferenceExpression
(strTemp));
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 (7)
System\Runtime\Serialization\CodeExporter.cs (7)
1775
derivedConstructor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(Globals.SerializationInfoFieldName));
1776
derivedConstructor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(Globals.ContextFieldName));
1833
new
CodeVariableReferenceExpression
(Globals.EnumeratorFieldName),
1839
new
CodeVariableReferenceExpression
(Globals.SerializationEntryFieldName),
1842
new
CodeVariableReferenceExpression
(Globals.SerializationEntryFieldName),
1852
new
CodeVariableReferenceExpression
(Globals.EnumeratorFieldName),
1910
CodeVariableReferenceExpression propertyChanged = new
CodeVariableReferenceExpression
("propertyChanged");
System.ServiceModel (18)
System\ServiceModel\Description\ClientClassGenerator.cs (18)
193
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(inputInstanceName));
198
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(ClientCtorParamNames[i][j]));
275
CodeVariableReferenceExpression inValue = new
CodeVariableReferenceExpression
("inValue");
294
CodeVariableReferenceExpression outVar = new
CodeVariableReferenceExpression
("retVal");
461
methodInvoke.Parameters.Add(new CodeDirectionExpression(parameter.Direction, new
CodeVariableReferenceExpression
(parameter.Name)));
537
ctor.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(EventArgsCtorParamNames[i]));
541
ctor.Statements.Add(new CodeAssignStatement(resultsFieldReference, new
CodeVariableReferenceExpression
(EventArgsCtorParamNames[0])));
667
CodeExpression inValuesRef = new
CodeVariableReferenceExpression
(inValuesParam.Name);
679
new
CodeVariableReferenceExpression
(variableDecl.Name)));
686
invokeBegin.Parameters.Add(new
CodeVariableReferenceExpression
(beginMethod.Parameters[i].Name));
724
invokeEnd.Parameters.Add(new
CodeVariableReferenceExpression
(endMethod.Parameters[i].Name));
735
new
CodeVariableReferenceExpression
(variableDecl.Name)));
737
retArray.Initializers.Add(new
CodeVariableReferenceExpression
(variableDecl.Name));
747
retArray.Initializers.Add(new
CodeVariableReferenceExpression
(retValDecl.Name));
800
CodeVariableReferenceExpression eventArgsRef = new
CodeVariableReferenceExpression
(eventArgsDecl.Name);
859
invokeAsyncInValues.Initializers.Add(new
CodeVariableReferenceExpression
(eventAsyncMethodParameter.Name));
881
invokeAsync.Parameters.Add(new
CodeVariableReferenceExpression
(userStateParamName));
905
invokeEventAsyncMethod.Parameters.Add(new
CodeVariableReferenceExpression
(
System.Web (48)
Compilation\BaseCodeDomTreeGenerator.cs (1)
786
new
CodeVariableReferenceExpression
(BaseTemplateCodeDomTreeGenerator.tempObjectVariable),
Compilation\BaseTemplateCodeDomTreeGenerator.cs (17)
139
new
CodeVariableReferenceExpression
("__parser"), "AddParsedSubObject");
258
ctrlRefExpr = new
CodeVariableReferenceExpression
("__ctrl");
289
ctrlRefExpr = new
CodeVariableReferenceExpression
("__ctrl");
632
CodeVariableReferenceExpression childCtrlRefExpr = new
CodeVariableReferenceExpression
(localVariableRef);
808
CodeVariableReferenceExpression childCtrlRefExpr = new
CodeVariableReferenceExpression
(localVariableRef);
1003
CodeAssignStatement newTableAssign = new CodeAssignStatement(new
CodeVariableReferenceExpression
(tableVarName),
1011
CodeMethodReturnStatement returnStatement = new CodeMethodReturnStatement(new
CodeVariableReferenceExpression
(tableVarName));
1063
new
CodeVariableReferenceExpression
(containerVarName), "FindControl");
1068
CodeAssignStatement findControlAssign = new CodeAssignStatement(new
CodeVariableReferenceExpression
(entry.ControlID),
1081
ensureControlExpression.Left = new
CodeVariableReferenceExpression
(entry.ControlID);
1086
CodeIndexerExpression tableIndexer = new CodeIndexerExpression(new
CodeVariableReferenceExpression
(tableVarName),
1093
CodeExpression controlPropertyExpression = CodeDomUtility.BuildPropertyReferenceExpression(new
CodeVariableReferenceExpression
(entry.ControlID), entry.Name);
1254
CodeAssignStatement setTarget = new CodeAssignStatement(new
CodeVariableReferenceExpression
(targetDecl.Name),
1261
CodeAssignStatement setContainer = new CodeAssignStatement(new
CodeVariableReferenceExpression
(containerDecl.Name),
1263
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("target"),
1318
new
CodeVariableReferenceExpression
("target"), "SetDataBoundString");
1579
new
CodeVariableReferenceExpression
(tempObjectVariable),
Compilation\BrowserCapabilitiesCompiler.cs (2)
378
istatement.Condition = new
CodeVariableReferenceExpression
(BrowserCapabilitiesCodeGenerator.IgnoreApplicationBrowserVariableName);
437
istatement.Condition = new
CodeVariableReferenceExpression
(BrowserCapabilitiesCodeGenerator.IgnoreApplicationBrowserVariableName);
Compilation\DataBindingExpressionBuilder.cs (5)
76
new
CodeVariableReferenceExpression
("dataBindingExpressionBuilderTarget"), propertyName, propertyType,
86
CodeVariableReferenceExpression targetExp = new
CodeVariableReferenceExpression
(targetDecl.Name);
100
CodeAssignStatement setContainer = new CodeAssignStatement(new
CodeVariableReferenceExpression
(containerDecl.Name),
124
CodeAssignStatement setDataItem = new CodeAssignStatement(new
CodeVariableReferenceExpression
(itemTypeDecl.Name),
126
new CodePropertyReferenceExpression(new
CodeVariableReferenceExpression
("Container"),
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
118
var activatorRefExpr = new
CodeVariableReferenceExpression
("__activator");
Compilation\PageCodeDomTreeGenerator.cs (4)
91
new
CodeVariableReferenceExpression
(dependenciesLocalName);
102
new
CodeVariableReferenceExpression
(dependenciesLocalName),
115
createWrap.Parameters.Add(new
CodeVariableReferenceExpression
(dependenciesLocalName));
206
new
CodeVariableReferenceExpression
(outputCacheSettingsLocalName);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
87
new
CodeVariableReferenceExpression
(keyVarName)
Compilation\TemplateControlCodeDomTreeGenerator.cs (1)
317
ctorCode.BaseConstructorArgs.Add(new
CodeVariableReferenceExpression
(p.Name));
Configuration\BrowserCapabilitiesCodeGenerator.cs (16)
66
private CodeVariableReferenceExpression _dictionaryRefExpr = new
CodeVariableReferenceExpression
(_dictionaryRefName);
67
private CodeVariableReferenceExpression _regexWorkerRefExpr = new
CodeVariableReferenceExpression
(_regexWorkerRefName);
68
private CodeVariableReferenceExpression _headersRefExpr = new
CodeVariableReferenceExpression
(_headersRefName);
69
private CodeVariableReferenceExpression _browserCapsRefExpr = new
CodeVariableReferenceExpression
(browserCapsVariable);
1010
CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new
CodeVariableReferenceExpression
(browserCapsVariable), "AddBrowser");
1052
codeAssignStmt.Left = new
CodeVariableReferenceExpression
(IgnoreApplicationBrowserVariableName);
1090
expr.Parameters.Add(new
CodeVariableReferenceExpression
(IgnoreApplicationBrowserVariableName));
1092
expr.Parameters.Add(new
CodeVariableReferenceExpression
(_headersRefName));
1093
expr.Parameters.Add(new
CodeVariableReferenceExpression
(browserCapsVariable));
1188
new
CodeVariableReferenceExpression
(browserCapsVariable),
1319
return new
CodeVariableReferenceExpression
(varName);
1343
new CodeIndexerExpression(new
CodeVariableReferenceExpression
(browserCapsVariable), new CodeExpression[] {
1467
xProcess.Parameters.Add(new
CodeVariableReferenceExpression
(_headersRefName));
1468
xProcess.Parameters.Add(new
CodeVariableReferenceExpression
(browserCapsVariable));
1487
xProcess.Parameters.Add(new
CodeVariableReferenceExpression
(_headersRefName));
1488
xProcess.Parameters.Add(new
CodeVariableReferenceExpression
(browserCapsVariable));
System.Web.Services (5)
System\Web\Services\Description\ProtocolImporter.cs (1)
667
CodeVariableReferenceExpression urlSettingReference = new
CodeVariableReferenceExpression
("urlSetting");
System\Web\Services\Description\SoapProtocolImporter.cs (3)
978
((CodeArrayIndexerExpression)value).TargetObject = new
CodeVariableReferenceExpression
(resultsName);
985
((CodeArrayIndexerExpression) value).TargetObject = new
CodeVariableReferenceExpression
(resultsName);
994
((CodeArrayIndexerExpression)value).TargetObject = new
CodeVariableReferenceExpression
(resultsName);
System\Web\Services\Description\WebCodeGenerator.cs (1)
296
CodeVariableReferenceExpression invokeArgs = new
CodeVariableReferenceExpression
("invokeArgs");
System.Workflow.Activities (2)
WebServiceReceive.cs (2)
851
CodeExpression rightExpression = new CodeCastExpression(new CodeTypeReference(pinfo.ParameterType.GetElementType().FullName), new CodeIndexerExpression(new
CodeVariableReferenceExpression
("results"), new CodePrimitiveExpression(i + iStartIndex)));
862
returnTargetExpression = new
CodeVariableReferenceExpression
("results");
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\SerializableTypeCodeDomSerializer.cs (1)
109
CodeVariableReferenceExpression varExpression = new
CodeVariableReferenceExpression
(varName);
AuthoringOM\Serializer\SynchronizationHandlesCodeDomSerializer.cs (2)
41
statements.Add(new CodeMethodInvokeExpression(new CodeMethodReferenceExpression(new
CodeVariableReferenceExpression
(variableName), "Add"), new CodeExpression[] { new CodePrimitiveExpression(handle) }));
43
retVal = new
CodeVariableReferenceExpression
(variableName);
System.Xml (1)
System\Xml\Serialization\CodeExporter.cs (1)
357
CodeVariableReferenceExpression propertyChanged = new
CodeVariableReferenceExpression
("propertyChanged");
XamlBuildTask (20)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (19)
435
new CodeDirectionExpression(FieldDirection.Ref, new
CodeVariableReferenceExpression
("isInitialized"))
441
new
CodeVariableReferenceExpression
("isInitialized"),
495
new
CodeVariableReferenceExpression
(resourceNameVar.VariableName),
533
CodeVariableReferenceExpression SchemaContextReference = new
CodeVariableReferenceExpression
(classData.HelperClassFullName + ".SchemaContext");
618
new
CodeVariableReferenceExpression
(field.Name),
748
Left = new
CodeVariableReferenceExpression
("i"),
752
TargetObject = new
CodeVariableReferenceExpression
(resourcesVar.VariableName),
758
Left = new
CodeVariableReferenceExpression
("i"),
761
Left = new
CodeVariableReferenceExpression
("i"),
772
new
CodeVariableReferenceExpression
(resourcesVar.VariableName),
773
new
CodeVariableReferenceExpression
("i")),
783
TargetObject = new
CodeVariableReferenceExpression
("resource"),
793
TargetObject = new
CodeVariableReferenceExpression
("resource"),
804
Expression = new
CodeVariableReferenceExpression
("resource"),
940
Right = new
CodeVariableReferenceExpression
("value")
1097
CodeVariableReferenceExpression assemblyList = new
CodeVariableReferenceExpression
("assemblyListField");
1147
CodeVariableReferenceExpression schemaContext = new
CodeVariableReferenceExpression
("schemaContextField");
1172
CodeVariableReferenceExpression AssemblyList = new
CodeVariableReferenceExpression
("AssemblyList");
1218
CodeVariableReferenceExpression assemblyNameVal = new
CodeVariableReferenceExpression
("assemblyNameVal");
Microsoft\Build\Tasks\Xaml\CodeDomExtensionMethods.cs (1)
21
return new
CodeVariableReferenceExpression
(name);