329 references to CodeTypeReference
PresentationBuildTasks (9)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (9)
2171
new
CodeTypeReference
("System.Diagnostics.CodeAnalysis.SuppressMessageAttribute"),
2241
_ccRoot.CodeClass.BaseTypes[0].TypeArguments.Add(new
CodeTypeReference
(_typeArgsList[i]));
2281
ctrConstructedType = new
CodeTypeReference
(genericName);
2285
ctrConstructedType = new
CodeTypeReference
(t.FullName);
2310
ctrConstructedType = new
CodeTypeReference
(genericName);
2349
ctrTypeArg = new
CodeTypeReference
(currTypeArg);
2375
ctrConstructedType = new
CodeTypeReference
(t.FullName);
2490
cc.ElementTypeReference = new
CodeTypeReference
(GetFullClassName(ns, className));
2663
ctdClass.BaseTypes.Add(new
CodeTypeReference
("System.Windows.Markup.InternalTypeHelper"));
System (32)
compmod\system\codedom\CodeArrayCreateExpression.cs (4)
55
this.createType = new
CodeTypeReference
(createType);
82
this.createType = new
CodeTypeReference
(createType);
109
this.createType = new
CodeTypeReference
(createType);
130
createType = new
CodeTypeReference
("");
compmod\system\codedom\CodeAttributeDeclaration.cs (1)
87
attributeType = new
CodeTypeReference
(name);
compmod\system\codedom\CodeCastExpression.cs (2)
55
TargetType = new
CodeTypeReference
(targetType);
75
targetType = new
CodeTypeReference
("");
compmod\system\codedom\CodeDefaultValueExpression.cs (1)
28
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeDelegateCreateExpression.cs (1)
59
delegateType = new
CodeTypeReference
("");
compmod\system\codedom\CodeMemberEvent.cs (1)
46
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeMemberField.cs (2)
54
Type = new
CodeTypeReference
(type);
74
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeMemberMethod.cs (1)
73
returnType = new
CodeTypeReference
(typeof(void).FullName);
compmod\system\codedom\CodeMemberProperty.cs (1)
67
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeObjectCreateExpression.cs (2)
54
CreateType = new
CodeTypeReference
(createType);
74
createType = new
CodeTypeReference
("");
compmod\system\codedom\CodeParameterDeclarationExpression.cs (2)
56
Type = new
CodeTypeReference
(type);
109
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeTypeDelegate.cs (2)
42
BaseTypes.Add(new
CodeTypeReference
("System.Delegate"));
62
returnType = new
CodeTypeReference
("");
compmod\system\codedom\CodeTypeOfExpression.cs (2)
51
Type = new
CodeTypeReference
(type);
69
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeTypeReference.cs (4)
212
typeArgumentList.Add(new
CodeTypeReference
(name));
258
public CodeTypeReference(string typeName, params CodeTypeReference[] typeArguments) :
this
(typeName){
265
this
( (typeParameter == null) ? (string)null : typeParameter.Name) {
275
this.arrayElementType = new
CodeTypeReference
(baseType);
compmod\system\codedom\CodeTypeReferenceCollection.cs (1)
77
Add(new
CodeTypeReference
(value));
compmod\system\codedom\CodeTypeReferenceExpression.cs (2)
51
Type = new
CodeTypeReference
(type);
69
type = new
CodeTypeReference
("");
compmod\system\codedom\CodeVariableDeclarationStatement.cs (3)
54
Type = new
CodeTypeReference
(type);
82
Type = new
CodeTypeReference
(type);
132
type = new
CodeTypeReference
("");
System.Activities (9)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (9)
905
new CodeObjectCreateExpression(new
CodeTypeReference
(descriptor.TypeName), new CodeExpression[] { new CodeVariableReferenceExpression("locationReferences") }),
1020
new CodeTypeReferenceExpression(new
CodeTypeReference
(descriptor.TypeName)),
1144
new
CodeTypeReference
(descriptor.TypeName), dataContextVariableName);
1157
new
CodeTypeReference
(descriptor.TypeName),
1161
new
CodeTypeReference
(descriptor.TypeName),
1218
new
CodeTypeReference
(descriptor.TypeName), dataContextVariableName);
1243
new
CodeTypeReference
(descriptor.TypeName), dataContextVariableName);
1358
new
CodeTypeReference
(typeName),
1366
new
CodeTypeReference
(typeName),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1421
private static CodeTypeReference Type(string type) { return new
CodeTypeReference
(type); }
System.Data.Entity.Design (1)
System\Data\EntityModel\Emitters\TypeReference.cs (1)
128
value = new
CodeTypeReference
(type);
System.Data.Services.Design (1)
System\Data\EntityModel\Emitters\TypeReference.cs (1)
120
value = new
CodeTypeReference
(type);
System.Management (242)
WmiGenerator.cs (242)
273
cc.BaseTypes.Add(new
CodeTypeReference
(PrivateNamesUsed["ComponentClass"].ToString()));
975
cmp.Type = new
CodeTypeReference
(propType);
1012
cmp.Type = new
CodeTypeReference
(propType);
1056
cmp.Type = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
1105
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentExceptionClass"].ToString());
1136
cpde.Type = new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString());
1199
cf.Type = new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString());
1246
if((cmp.Type.ArrayRank == 0 && cmp.Type.BaseType == new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()).BaseType) ||
1247
cmp.Type.ArrayRank > 0 && cmp.Type.ArrayElementType .BaseType == new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()).BaseType)
1258
cmp2.Type = new
CodeTypeReference
("System.Boolean");
1426
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
1543
new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new
CodeTypeReference
(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"),
1551
new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(new
CodeTypeReference
(PublicProperties[prop.Name].ToString() + "Values")), "NULL_ENUM_VALUE"),
1874
cmp.Type = new
CodeTypeReference
(strEnum);
1978
cmp.Type = new
CodeTypeReference
(strEnum);
2089
cmm.ReturnType = new
CodeTypeReference
("System.String");
2129
cmie.Method.TargetObject = new CodeCastExpression(new
CodeTypeReference
(((CodeTypeReference)arrKeyType[i]).BaseType + " "),new CodeVariableReferenceExpression("key"+arrKeys[i]));
2169
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2204
cpde.Type = new
CodeTypeReference
(((CodeTypeReference)arrKeyType[i]).BaseType);
2211
if(cctor.Parameters.Count == 1 && cctor.Parameters[0].Type.BaseType == new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()).BaseType)
2214
cpde.Type = new
CodeTypeReference
("System.Object");
2232
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2252
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2263
cpde.Type = new
CodeTypeReference
(((CodeTypeReference)arrKeyType[i]).BaseType);
2270
if(cctor.Parameters.Count == 2 && cctor.Parameters[1].Type.BaseType == new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()).BaseType)
2273
cpde.Type = new
CodeTypeReference
("System.Object");
2280
new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),
2293
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2318
cpde.Type = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2349
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2350
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
2377
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2378
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2402
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),
2415
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2439
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),
2452
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2474
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),
2476
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),
2492
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2535
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2536
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2537
cctor.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
2572
cpde.Type = new
CodeTypeReference
(PublicNamesUsed["LateBoundClass"].ToString());
2600
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["SystemPropertiesClass"].ToString());
2607
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentExceptionClass"].ToString());
2643
cpde.Type = new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString());
2668
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["SystemPropertiesClass"].ToString());
2678
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentExceptionClass"].ToString());
2723
cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
2724
cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPathObject));
2725
cmmInit.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
2752
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentExceptionClass"].ToString());
2760
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["LateBoundClass"].ToString());
2768
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["SystemPropertiesClass"].ToString());
2905
cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()),
2913
cocePath.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
2915
cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPath,cocePath));
2918
coce1.CreateType = new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString());
2924
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString());
2926
cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString()),strClassObj,coce1));
3029
cis.TrueStatements.Add(new CodeAssignStatement(cie,new CodeCastExpression(new
CodeTypeReference
(cpde.Type.BaseType + " "),
3067
cis.TrueStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()),strOutParams,cmie));
3167
coce.CreateType = new
CodeTypeReference
("System.TimeSpan");
3246
if (retRefType.BaseType == new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()).BaseType)
3274
coce.CreateType = new
CodeTypeReference
("System.TimeSpan");
3290
if(retRefType.ArrayRank == 0 && retRefType.BaseType != new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()).BaseType)
3336
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3366
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3397
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3429
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3476
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3477
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3478
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["QueryOptionsClass"].ToString()),
3501
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString());
3518
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
3520
cmm.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),pathObj,coce));
3532
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString());
3537
cmm.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString()),
3548
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["QueryOptionsClass"].ToString());
3560
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3587
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3588
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3589
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.String"),strCondition));
3619
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3660
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3662
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
3682
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString());
3697
coce1.CreateType = new
CodeTypeReference
(PublicNamesUsed["QueryClass"].ToString());
3703
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ObjectSearcherClass"].ToString());
3711
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["QueryOptionsClass"].ToString());
3714
new
CodeTypeReference
(PublicNamesUsed["QueryOptionsClass"].ToString()),
3730
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["CollectionClass"].ToString());
3762
cf.Type = new
CodeTypeReference
(MemberType);
3810
cf.Type = new
CodeTypeReference
(PublicNamesUsed["TypeConverter"].ToString());
3817
cf.Type = new
CodeTypeReference
(PublicNamesUsed["Type"].ToString());
3833
cpde.Type = new
CodeTypeReference
("System.Type");
3857
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
3881
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
3905
cmm.ReturnType = new
CodeTypeReference
("System.Object");
3909
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.Object"),ValueVar));
3930
cmm.ReturnType = new
CodeTypeReference
("System.Object");
3954
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
3975
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.Object"),ValueVar));
3977
CodeTypeReference crt = new CodeTypeReference(new
CodeTypeReference
("System.Attribute"),1);
3979
cmm.ReturnType = new
CodeTypeReference
(propColl);
4000
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
4019
cmm.ReturnType = new
CodeTypeReference
("System.ComponentModel.TypeConverter.StandardValuesCollection");
4038
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
4057
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
4107
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.Object"),ValueVar));
4109
cmm.ReturnType = new
CodeTypeReference
("System.Object");
4312
cf.Type = new
CodeTypeReference
(strManagementObjectCollectionType);
4325
cpde.Type = new
CodeTypeReference
(strManagementObjectCollectionType);
4340
cmp.Type = new
CodeTypeReference
("System.Int32");
4358
cmp.Type = new
CodeTypeReference
("System.Boolean");
4375
cmp.Type = new
CodeTypeReference
("System.Object");
4403
cpde.Type = new
CodeTypeReference
("System.Array");
4408
cpde.Type = new
CodeTypeReference
("System.Int32");
4449
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["GeneratedClassName"].ToString());
4450
coce.Parameters.Add(new CodeCastExpression(new
CodeTypeReference
(PublicNamesUsed["LateBoundClass"].ToString()),cmie1));
4469
cmm.ReturnType = new
CodeTypeReference
("System.Collections.IEnumerator");
4471
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["EnumeratorClass"].ToString());
4527
cf.Type = new
CodeTypeReference
(strManagementObjectCollectionType+"."+
4541
cpde.Type = new
CodeTypeReference
(strManagementObjectCollectionType + "." +
4557
cmp.Type = new
CodeTypeReference
("System.Object");
4563
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["GeneratedClassName"].ToString());
4564
coce.Parameters.Add(new CodeCastExpression(new
CodeTypeReference
(PublicNamesUsed["LateBoundClass"].ToString()),
4594
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
4764
return new
CodeTypeReference
(strType);
5083
cpde.Type = new
CodeTypeReference
(PublicNamesUsed["PutOptions"].ToString());
5422
cmp.Type = new
CodeTypeReference
("System.String");
5462
new CodeCastExpression(new
CodeTypeReference
("System.String"),
5508
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
5510
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),PrivateNamesUsed["ScopeParam"].ToString()));
5511
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPathParam));
5512
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["GetOptionsClass"].ToString()),strGetOptions));
5551
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["LateBoundClass"].ToString());
5582
cmm.ReturnType = new
CodeTypeReference
("System.Boolean");
5584
cmm.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
(PublicNamesUsed["BaseObjClass"].ToString()),strTempObj));
5589
new CodeCastExpression(new
CodeTypeReference
("System.String"),
5623
CodeExpression cs = new CodeCastExpression(new
CodeTypeReference
("System.Array"),
5659
new CodeCastExpression(new
CodeTypeReference
("System.String"),cmie1),
5738
ce = new CodeCastExpression(new
CodeTypeReference
("System.String"),new CodePropertyReferenceExpression(prop,"Value"));
5742
ce = new CodeCastExpression(new
CodeTypeReference
("System.String"),prop);
5777
new
CodeTypeReference
("System.Array"),
5787
new
CodeTypeReference
("System.Array"),
5795
new
CodeTypeReference
("System.Int32"),
5802
new
CodeTypeReference
(strType),
5810
new
CodeTypeReference
(strType),
5819
new
CodeTypeReference
("System.Int32"),
5844
cmie1.Method.TargetObject = new CodeCastExpression(new
CodeTypeReference
("System.Array"),new CodePropertyReferenceExpression(prop,"Value"));
5848
cmie1.Method.TargetObject = new CodeCastExpression(new
CodeTypeReference
("System.Array"), prop);
5909
new
CodeTypeReference
("System.Array"),
5917
new
CodeTypeReference
("System.Int32"),
5924
new CodeTypeReference(new
CodeTypeReference
("System.String"), 1);
5931
new
CodeTypeReference
("System.String"),
5940
new
CodeTypeReference
("System.Int32"),
5964
cmie1.Method.TargetObject = new CodeCastExpression(new
CodeTypeReference
("System.Array"),varValue);
6004
coce.CreateType = new
CodeTypeReference
("System.TimeSpan");
6024
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
6044
cmie1.Parameters.Add(new CodeCastExpression(new
CodeTypeReference
("System.DateTime"),beginingExpression));
6052
cmie2.Parameters.Add(new CodeCastExpression(new
CodeTypeReference
("System.TimeSpan"),beginingExpression));
6059
new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),
6073
cmp.Type = new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString());
6134
new CodeCastExpression(new
CodeTypeReference
("System.Array"),ciProp)));
6137
new CodeArrayCreateExpression(new
CodeTypeReference
(strEnumName),
6168
new CodeCastExpression(new
CodeTypeReference
(strEnumName),cmie2 )));
6236
codeType = new
CodeTypeReference
("System.DateTime");
6250
codeType = new
CodeTypeReference
("System.TimeSpan");
6299
cmm.ReturnType = new
CodeTypeReference
(PrivateNamesUsed["GeneratedClassName"].ToString());
6312
cmm.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString()),
6324
coce.CreateType = new
CodeTypeReference
(PublicNamesUsed["ScopeClass"].ToString());
6340
cocePath.CreateType = new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString());
6342
cmm.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
(PublicNamesUsed["PathClass"].ToString()),strPath,cocePath));
6345
coce1.CreateType = new
CodeTypeReference
(PublicNamesUsed["ManagementClass"].ToString());
6358
coce.CreateType = new
CodeTypeReference
(PrivateNamesUsed["GeneratedClassName"].ToString());
6441
cmmdt.ReturnType = new
CodeTypeReference
("System.DateTime");
6442
cmmdt.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.String"),dmtfParam));
6447
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.DateTime"),"initializer",new CodeFieldReferenceExpression(new CodeTypeReferenceExpression("System.DateTime"),"MinValue")));
6450
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),year,new CodePropertyReferenceExpression(cvreInitializer,"Year")));
6453
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),month, new CodePropertyReferenceExpression(cvreInitializer,"Month")));
6456
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),day,new CodePropertyReferenceExpression(cvreInitializer,"Day")));
6459
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),hour,new CodePropertyReferenceExpression(cvreInitializer,"Hour")));
6462
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),minute,new CodePropertyReferenceExpression(cvreInitializer,"Minute")));
6465
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),second,new CodePropertyReferenceExpression(cvreInitializer,"Second")));
6468
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int64"),ticks,new CodePrimitiveExpression(0)));
6471
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),dmtf,new CodeVariableReferenceExpression(dmtfParam)));
6475
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.DateTime"),datetimeVariable,cpreMinVal));
6478
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),tempStr,new CodeFieldReferenceExpression(
6497
codeThrowException.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentOutOfRangeException"].ToString());
6683
codeThrowExceptionWithArgs.CreateType = new
CodeTypeReference
6709
coce.CreateType = new
CodeTypeReference
("System.DateTime");
6740
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),tickoffset,cmie1));
6749
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),utcOffset,new CodePrimitiveExpression(0)));
6751
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),offsetAdjust,new CodePrimitiveExpression(0)));
6761
new
CodeTypeReference
("System.Int64"),
6829
cis.TrueStatements.Add(new CodeAssignStatement(new CodeVariableReferenceExpression(offsetAdjust),new CodeCastExpression(new
CodeTypeReference
("System.Int32"),cboe)));
6892
cmmts.ReturnType = new
CodeTypeReference
("System.String");
6893
cmmts.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.TimeSpan"),timespan));
6908
new
CodeTypeReference
("System.Int32 "),
6921
new
CodeTypeReference
("System.String"),
6929
new
CodeTypeReference
(PublicNamesUsed["ArgumentOutOfRangeException"].ToString());
6939
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),"maxTimeSpan",cpreMaxVal));
6969
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),"minTimeSpan",cpreMinVal));
6997
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int32 "),cpre1),"ToString");
7014
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int32 "),cpre1),"ToString");
7031
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int32 "),cpre1),"ToString");
7053
coce.CreateType = new
CodeTypeReference
("System.TimeSpan");
7059
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),tsTemp,coce));
7084
new
CodeTypeReference
("System.Int64"),
7094
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int64 "),new CodeVariableReferenceExpression(microsec)),"ToString");
7095
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),strmicrosec,cmie));
7154
cmmdt.ReturnType = new
CodeTypeReference
("System.String");
7155
cmmdt.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.DateTime"),dateParam));
7161
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),strUtc,
7183
new
CodeTypeReference
("System.TimeSpan"),
7197
new
CodeTypeReference
("System.Int64"),
7250
cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int64 "),cboe2),"ToString");
7268
cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int64 "),new CodeVariableReferenceExpression(OffsetMins)),"ToString");
7269
cis2.FalseStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),"strTemp",cmie1));
7295
cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int32 "),
7305
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),dmtfDateTime,cmie2));
7347
coce.CreateType = new
CodeTypeReference
("System.DateTime");
7355
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.DateTime"),dtTemp,coce));
7379
new
CodeTypeReference
("System.Int64"),
7389
cmie1.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
("System.Int64 "),
7391
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),strmicrosec,cmie1));
7449
cmie.Method = new CodeMethodReferenceExpression(new CodeCastExpression(new
CodeTypeReference
(strType),
7481
cmmts.ReturnType = new
CodeTypeReference
("System.TimeSpan");
7482
cmmts.Parameters.Add(new CodeParameterDeclarationExpression(new
CodeTypeReference
("System.String"),tsParam));
7487
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),days,new CodePrimitiveExpression(0)));
7489
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),hours,new CodePrimitiveExpression(0)));
7491
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),minutes,new CodePrimitiveExpression(0)));
7493
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int32"),seconds,new CodePrimitiveExpression(0)));
7495
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.Int64"),ticks,new CodePrimitiveExpression(0)));
7513
codeThrowException.CreateType = new
CodeTypeReference
(PublicNamesUsed["ArgumentOutOfRangeException"].ToString());
7585
tryblock.TryStatements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.String"),strTemp,
7714
codeThrowExceptionWithArgs.CreateType = new
CodeTypeReference
7741
coce.CreateType = new
CodeTypeReference
("System.TimeSpan");
7748
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),timespan,coce));
7759
cmmts.Statements.Add(new CodeVariableDeclarationStatement(new
CodeTypeReference
("System.TimeSpan"),tsTemp,cmie));
System.Runtime.Serialization (3)
System\Runtime\Serialization\CodeExporter.cs (2)
451
contractCodeDomInfo.TypeReference = new
CodeTypeReference
((clrNamespace == null || clrNamespace.Length == 0) ? typeName : clrNamespace + "." + typeName);
503
contractCodeDomInfo.TypeReference = new
CodeTypeReference
(containingContractCodeDomInfo.TypeReference.BaseType + "+" + nestedTypeName);
System\Runtime\Serialization\DataContract.cs (1)
1868
CodeTypeReference typeReference = new
CodeTypeReference
(fullTypeName);
System.ServiceModel (6)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
644
beginOperationDelegate.Type = new
CodeTypeReference
(beginOperationDelegateTypeName);
699
endOperationDelegate.Type = new
CodeTypeReference
(endOperationDelegateTypeName);
System\ServiceModel\Description\MessageContractImporter.cs (2)
2031
return new
CodeTypeReference
(this.xmlSerializerOperationGenerator.GetTypeName(membersMapping[0]));
2052
return new
CodeTypeReference
(this.xmlSerializerOperationGenerator.GetTypeName(membersMapping[0]));
System\ServiceModel\Description\ServiceContractGenerator.cs (1)
819
CodeTypeReference codeTypeReference = new
CodeTypeReference
(String.IsNullOrEmpty(codeNamespace.Name) ? codeType.Name : codeNamespace.Name + '.' + codeType.Name);
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
200
operationGenerator.ParameterTypes.Add(part, new
CodeTypeReference
(part.BaseType));
System.ServiceModel.Activation (1)
System\ServiceModel\Activities\Activation\XamlBuildProviderExtension.cs (1)
174
CodeTypeReference typeRef = new
CodeTypeReference
(activityNamespace + "." + activityName);
System.Web (7)
Compilation\BaseCodeDomTreeGenerator.cs (1)
526
prop.Type = new
CodeTypeReference
(typeName);
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
45
member.Type = new
CodeTypeReference
(type.FullName);
Compilation\ProfileBuildProvider.cs (3)
114
type.BaseTypes.Add(new
CodeTypeReference
(ProfileBase.InheritsFromTypeString));
241
prop.Type = new
CodeTypeReference
("ProfileGroup" + groupName);
278
method.ReturnType = new
CodeTypeReference
(/*BaseCodeDomTreeGenerator.defaultNamespace + "." + */ ProfileTypeName);
Configuration\BrowserCapabilitiesCodeGenerator.cs (1)
729
factoryType.BaseTypes.Add(new
CodeTypeReference
("System.Web.Configuration.BrowserCapabilitiesFactoryBase"));
Profile\HttpProfileBase.cs (1)
339
prop.PropertyCodeRefType = new
CodeTypeReference
(pps.Type);
System.Web.Services (5)
System\Web\Services\Description\WebCodeGenerator.cs (5)
91
prop.Type = new
CodeTypeReference
(typeName);
170
method.ReturnType = new
CodeTypeReference
(returnTypeName);
260
eventCompleted.Type = new
CodeTypeReference
(handlerType);
300
create.CreateType = new
CodeTypeReference
(handlerArgs);
404
prop.Type = new
CodeTypeReference
(typeName);
System.Workflow.Activities (4)
WebServiceReceive.cs (4)
758
typeDeclaration.BaseTypes.Add(new
CodeTypeReference
("WorkflowWebService"));
809
paramDecl.Type = new
CodeTypeReference
(paramInfo.ParameterType.GetElementType().FullName);
820
paramDecl.Type = new
CodeTypeReference
(paramInfo.ParameterType.FullName);
851
CodeExpression rightExpression = new CodeCastExpression(new
CodeTypeReference
(pinfo.ParameterType.GetElementType().FullName), new CodeIndexerExpression(new CodeVariableReferenceExpression("results"), new CodePrimitiveExpression(i + iStartIndex)));
System.Workflow.ComponentModel (1)
AuthoringOM\Serializer\CodeTypeReferenceSerializer.cs (1)
104
result = new
CodeTypeReference
(value);
System.Xml (2)
System\Xml\Serialization\CodeExporter.cs (1)
300
prop.Type = new
CodeTypeReference
(typeName);
System\Xml\Serialization\XmlSchemaImporter.cs (1)
398
CodeGenerator.ValidateIdentifiers(new
CodeTypeReference
(typeName));
XamlBuildTask (5)
Microsoft\Build\Tasks\Xaml\ClassGenerator.cs (5)
81
generatedCodeAttribute = new CodeAttributeDeclaration(new
CodeTypeReference
(typeof(System.CodeDom.Compiler.GeneratedCodeAttribute).FullName),
231
attributeCollection.Add(new CodeAttributeDeclaration(new
CodeTypeReference
(clrTypeName), arguments));
489
Type = new
CodeTypeReference
(classData.Name)
724
Type = new
CodeTypeReference
(classData.Name)
969
codeTypeReference = new
CodeTypeReference
(propClrTypeName);