156 instantiations of CodeTypeReferenceExpression
PresentationBuildTasks (15)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (15)
1467
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState)), "Never");
1781
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1800
CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1866
CodeTypeReferenceExpression ctreEvent = new
CodeTypeReferenceExpression
(miEvent.DeclaringType.FullName);
2522
CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(Delegate)), "CreateDelegate");
2600
CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(System.UriKind)), "Relative");
2611
CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT);
2692
CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(Activator)), "CreateInstance");
2696
CodeFieldReferenceExpression cfre1 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "Public");
2697
CodeFieldReferenceExpression cfre2 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "NonPublic");
2698
CodeFieldReferenceExpression cfre3 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "Instance");
2699
CodeFieldReferenceExpression cfre4 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "CreateInstance");
2732
cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), DEFAULT));
2761
cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), DEFAULT));
2802
CodeFieldReferenceExpression cfre5 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "InvokeMethod");
System.Activities (7)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (7)
186
new
CodeTypeReferenceExpression
(
1020
new
CodeTypeReferenceExpression
(new CodeTypeReference(descriptor.TypeName)),
1080
new
CodeTypeReferenceExpression
(descriptor.TypeName),
1307
new
CodeTypeReferenceExpression
(descriptor.TypeName),
1840
new
CodeTypeReferenceExpression
(typeof(CompiledDataContext)),
1898
new
CodeTypeReferenceExpression
(typeof(CompiledDataContext)),
2275
new
CodeTypeReferenceExpression
(baseType.Name),
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1426
private static CodeTypeReferenceExpression TypeExpr(Type type) { return new
CodeTypeReferenceExpression
(type); }
1427
private static CodeTypeReferenceExpression TypeExpr(string type) { return new
CodeTypeReferenceExpression
(type); }
System.Data.Entity.Design (4)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (1)
244
new
CodeTypeReferenceExpression
(TypeReference.ForType(
System\Data\EntityModel\Emitters\Emitter.cs (1)
66
CodeTypeReferenceExpression typeref = new
CodeTypeReferenceExpression
(type);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (2)
140
return new
CodeTypeReferenceExpression
(typeReference.ForType(typeof(System.Data.Objects.DataClasses.StructuralObject)));
506
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(TypeReference.ForType(type)), Enum.GetName(type, value));
System.Data.Services.Design (8)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
490
new
CodeTypeReferenceExpression
(typeof(SyndicationItemProperty)),
493
new
CodeTypeReferenceExpression
(typeof(SyndicationTextContentKind)),
System\Data\EntityModel\Emitters\EntityContainerEmitter.cs (4)
251
new
CodeTypeReferenceExpression
(TypeReference.ForType(typeof(StringComparison))),
295
new
CodeTypeReferenceExpression
(TypeReference.ForType(typeof(string))),
348
new
CodeTypeReferenceExpression
(TypeReference.ForType(typeof(string))),
437
new
CodeTypeReferenceExpression
(TypeReference.ForType(typeof(string))),
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
77
new
CodeTypeReferenceExpression
(typeof(System.Data.Services.Client.TrackingMode)),
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
466
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(TypeReference.ForType(type)), Enum.GetName(type, value));
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
266
new
CodeTypeReferenceExpression
(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
786
new
CodeTypeReferenceExpression
(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System.Management (56)
WmiGenerator.cs (56)
986
caa.Value = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("DesignerSerializationVisibility"),"Hidden");
1032
caa.Value = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("DesignerSerializationVisibility"),"Hidden");
1279
caa.Value = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("DesignerSerializationVisibility"),"Hidden");
1379
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
1395
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
1474
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
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"),
2165
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
2223
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
2284
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
2411
cmie.Method.TargetObject =new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
2448
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
2488
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
(PrivateNamesUsed["GeneratedClassName"].ToString());
3153
cmie2.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
3179
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.DateTime"),
3190
cmie2.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
3262
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.DateTime"),"MinValue")));
3295
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
3302
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
3836
cmie = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(TypeDescriptorClass),"GetConverter");
5433
caa.Value = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("DesignerSerializationVisibility"),"Hidden");
5475
cboe4.Right = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.String"),"Empty");
5521
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.Globalization.CultureInfo"),"InvariantCulture")
5525
new
CodeTypeReferenceExpression
("System.String"),
5594
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.Globalization.CultureInfo"),"InvariantCulture")
5598
new
CodeTypeReferenceExpression
("System.String"),
5662
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.Globalization.CultureInfo"),"InvariantCulture")
5665
CodeMethodInvokeExpression cmie2 = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
("System.String"),
5989
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.DateTime"),"MinValue");
6088
caa.Value = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("DesignerSerializationVisibility"),"Hidden");
6163
cmie2.Method.TargetObject = new
CodeTypeReferenceExpression
("System.Convert");
6447
cmmdt.Statements.Add(new CodeVariableDeclarationStatement(new CodeTypeReference("System.DateTime"),"initializer",new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.DateTime"),"MinValue")));
6474
CodeFieldReferenceExpression cpreMinVal = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.DateTime"),"MinValue");
6479
new
CodeTypeReferenceExpression
("System.String"),"Empty")));
6569
CodeMethodReferenceExpression cmre1 = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Int64"),"Parse");
6575
cboe.Left = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"TicksPerMillisecond");
6733
cmre1 = new CodeMethodReferenceExpression(new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeZone"),"CurrentTimeZone"),
6756
cboe.Right = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"TicksPerMinute");
6811
cmre = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Int32"),"Parse");
6871
cmre = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Int32"),"Parse");
6938
CodeFieldReferenceExpression cpreMaxVal = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"MaxValue");
6968
CodeFieldReferenceExpression cpreMinVal = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"MinValue");
7078
new
CodeTypeReferenceExpression
("System.TimeSpan"),
7162
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.String"),"Empty")));
7171
new
CodeTypeReferenceExpression
("System.TimeZone"),
7192
cboe.Right = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"TicksPerMinute");
7210
cmre = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Math"),"Abs");
7246
cboe2.Right = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"TicksPerMinute");
7374
cboe2.Right = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"TicksPerMillisecond");
7586
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("System.String"),"Empty")));
7618
cmie.Method = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Int64"),"Parse");
7635
new
CodeTypeReferenceExpression
("System.TimeSpan"),
7756
cmie.Method = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.TimeSpan"),"FromTicks");
7790
cmie.Method = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
("System.Int32"),"Parse");
7827
CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
("System.String"),
System.Runtime.Serialization (4)
System\Runtime\Serialization\CodeExporter.cs (4)
1675
new
CodeTypeReferenceExpression
(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)),
1695
new
CodeTypeReferenceExpression
(GetCodeTypeReference(Globals.TypeOfXmlSerializableServices)),
1731
new
CodeTypeReferenceExpression
(GetCodeTypeReference(typeof(XmlSerializableServices))),
1962
left = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(Globals.TypeOfObject),
System.ServiceModel (9)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
44
new
CodeTypeReferenceExpression
(typeof(V)),
System\ServiceModel\Description\ClientClassGenerator.cs (1)
255
CodeTypeReferenceExpression browsableAttributeState = new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState));
System\ServiceModel\Description\OperationGenerator.cs (2)
777
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), message.ProtectionLevel.ToString())));
1035
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(type), Enum.Format(type, val, "G"));
System\ServiceModel\Description\ServiceContractGenerator.cs (5)
235
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G"));
416
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString())));
428
new
CodeTypeReferenceExpression
(typeof(SessionMode)), context.Contract.SessionMode.ToString())));
473
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString())));
669
new
CodeTypeReferenceExpression
(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
System.Web (28)
Compilation\AppSettingsExpressionBuilder.cs (2)
32
new
CodeTypeReferenceExpression
(this.GetType()),
38
new
CodeTypeReferenceExpression
(this.GetType()),
Compilation\AssemblyBuilder.cs (2)
592
CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(enumType), fieldName);
599
CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(enumType), fieldName);
Compilation\BaseCodeDomTreeGenerator.cs (2)
174
editorBrowsableAttribute.Arguments.Add(new CodeAttributeArgument(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState)), "Never")));
335
_classTypeExpr = new
CodeTypeReferenceExpression
(classTypeRef);
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
67
new
CodeTypeReferenceExpression
(typeof(HttpUtility)),
474
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(TemplateInstance)),
668
call.Method.TargetObject = new
CodeTypeReferenceExpression
(typeof(System.Web.UI.StaticPartialCachingControl));
1307
new
CodeTypeReferenceExpression
(typeof(HttpUtility)),
Compilation\CodeDOMUtility.cs (2)
370
CodeTypeReferenceExpression codeTypeReferenceExpression = new
CodeTypeReferenceExpression
(codeTypeReference);
378
CodeTypeReferenceExpression codeTypeReferenceExpression = new
CodeTypeReferenceExpression
(codeTypeReference);
Compilation\ConnectionStringsExpressionBuilder.cs (2)
58
return new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(this.GetType()), "GetConnectionString", new CodePrimitiveExpression(name));
61
return new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(this.GetType()), "GetConnectionStringProviderName", new CodePrimitiveExpression(name));
Compilation\DataBindingExpressionBuilder.cs (1)
70
new
CodeTypeReferenceExpression
(typeof(HttpUtility)),
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
116
var webObjectActivatorExpr = new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.Web.HttpRuntime"), "WebObjectActivator");
Compilation\PageCodeDomTreeGenerator.cs (3)
242
new
CodeTypeReferenceExpression
(typeof(OutputCacheLocation)),
417
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(TraceMode)), Parser.TraceMode.ToString())));
434
new
CodeTypeReferenceExpression
(typeof(ValidateRequestMode)), "Disabled");
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71
cmie.Method = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(PageTheme)), "CreateSkinKey");
Compilation\ProfileBuildProvider.cs (1)
282
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("ProfileBase");
Compilation\RouteUrlExpressionBuilder.cs (1)
31
new
CodeTypeReferenceExpression
(this.GetType()),
Compilation\RouteValueExpressionBuilder.cs (1)
31
new
CodeTypeReferenceExpression
(this.GetType()),
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
921
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(String)), "Empty"),
941
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(String)), "Empty"),
1138
CodeMethodReferenceExpression emptyCheckMethod = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(String)), "IsNullOrEmpty");
1191
new
CodeTypeReferenceExpression
(typeof(String)), "Empty") }));
1344
new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
(typeof(String)), "Empty") })));
System.Web.Services (8)
System\Web\Services\Description\ProtocolImporter.cs (2)
670
CodeTypeReferenceExpression codeTypeReference = new
CodeTypeReferenceExpression
(typeof(ConfigurationManager));
685
value = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(System.String)), "Concat", parameters);
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
27
CodeTypeReferenceExpression versionEnumTypeReference = new
CodeTypeReferenceExpression
(typeof(SoapProtocolVersion));
System\Web\Services\Description\SoapProtocolImporter.cs (5)
616
AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.Out.ToString()));
619
AddMetadataProperty("Direction", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SoapHeaderDirection).FullName), SoapHeaderDirection.InOut.ToString()));
767
AddMetadataProperty("Use", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G")));
772
AddMetadataProperty("Use", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SoapBindingUse).FullName), Enum.Format(typeof(SoapBindingUse), soapRequestBinding.Use, "G")));
773
AddMetadataProperty("ParameterStyle", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(SoapParameterStyle).FullName), Enum.Format(typeof(SoapParameterStyle), hasWrapper ? SoapParameterStyle.Wrapped : SoapParameterStyle.Bare, "G")));
System.Workflow.Activities (7)
Rules\Expressions.cs (2)
434
CodeExpression targetObject = new
CodeTypeReferenceExpression
(method.DeclaringType);
1931
CodeTypeReferenceExpression newType = new
CodeTypeReferenceExpression
(CloneType(typeRefExpr.Type));
Rules\Parser\Parser.cs (4)
1647
primaryExpr = new
CodeTypeReferenceExpression
(thisType);
1695
primaryExpr = new
CodeTypeReferenceExpression
(thisType);
1807
primaryExpr = new
CodeTypeReferenceExpression
(typeRef);
2219
result = new
CodeTypeReferenceExpression
(typeRef);
WebServiceReceive.cs (1)
760
CodeAttributeDeclaration attributeDeclaration = new CodeAttributeDeclaration("WebServiceBinding", new CodeAttributeArgument("ConformsTo", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
("WsiProfiles"), "BasicProfile1_1")), new CodeAttributeArgument("EmitConformanceClaims", new CodePrimitiveExpression(true)));
System.Workflow.ComponentModel (3)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (3)
107
param1 = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.OwnerType));
109
param1 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(dependencyProperty.OwnerType), dependencyPropertyName);
207
CodeExpression param1 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(ownerTypeName), propName + "Property");
System.Xml (3)
System\Xml\Serialization\XmlCodeExporter.cs (3)
209
CodeExpression enumRef = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(mapping.TypeDesc.FullName), values[i]);
217
valueExpression = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(mapping.TypeDesc.FullName), (string)value);
790
attribute.Arguments.Add(new CodeAttributeArgument("Form", new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
51 references to CodeTypeReferenceExpression
PresentationBuildTasks (1)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1866
CodeTypeReferenceExpression
ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName);
System (10)
compmod\microsoft\csharp\csharpcodeprovider.cs (3)
1726
else if (e is
CodeTypeReferenceExpression
) {
1727
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
2301
private void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e) {
compmod\system\codedom\CodeTypeReferenceExpression.cs (2)
32
/// Initializes a new instance of <see cref='System.CodeDom.
CodeTypeReferenceExpression
'/>.
40
/// Initializes a new instance of <see cref='System.CodeDom.
CodeTypeReferenceExpression
'/> using the specified type.
compmod\system\codedom\compiler\CodeGenerator.cs (3)
668
else if (e is
CodeTypeReferenceExpression
) {
669
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
1594
protected virtual void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e) {
compmod\system\codedom\compiler\CodeValidator.cs (2)
654
else if (e is
CodeTypeReferenceExpression
) {
655
ValidateTypeReference(((
CodeTypeReferenceExpression
)e).Type);
System.Data (2)
fx\src\data\System\Data\CodeGen\datacache.cs (2)
1426
private static
CodeTypeReferenceExpression
TypeExpr(Type type) { return new CodeTypeReferenceExpression(type); }
1427
private static
CodeTypeReferenceExpression
TypeExpr(string type) { return new CodeTypeReferenceExpression(type); }
System.Data.Entity.Design (2)
System\Data\EntityModel\Emitters\Emitter.cs (1)
66
CodeTypeReferenceExpression
typeref = new CodeTypeReferenceExpression(type);
System\Data\EntityModel\Emitters\PropertyEmitter.cs (1)
138
public static
CodeTypeReferenceExpression
CreateEdmStructuralObjectRef(TypeReference typeReference)
System.ServiceModel (1)
System\ServiceModel\Description\ClientClassGenerator.cs (1)
255
CodeTypeReferenceExpression
browsableAttributeState = new CodeTypeReferenceExpression(typeof(EditorBrowsableState));
System.Web (5)
Compilation\BaseCodeDomTreeGenerator.cs (1)
66
protected
CodeTypeReferenceExpression
_classTypeExpr;
Compilation\CodeDOMUtility.cs (4)
366
private static
CodeTypeReferenceExpression
BuildGlobalCodeTypeReferenceExpression(string typeName) {
370
CodeTypeReferenceExpression
codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference);
374
private static
CodeTypeReferenceExpression
BuildGlobalCodeTypeReferenceExpression(Type type) {
378
CodeTypeReferenceExpression
codeTypeReferenceExpression = new CodeTypeReferenceExpression(codeTypeReference);
System.Web.Services (2)
System\Web\Services\Description\ProtocolImporter.cs (1)
670
CodeTypeReferenceExpression
codeTypeReference = new CodeTypeReferenceExpression(typeof(ConfigurationManager));
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
27
CodeTypeReferenceExpression
versionEnumTypeReference = new CodeTypeReferenceExpression(typeof(SoapProtocolVersion));
System.Workflow.Activities (28)
Rules\Expressions.cs (23)
210
if (binaryExpr.Left is
CodeTypeReferenceExpression
)
231
if (binaryExpr.Right is
CodeTypeReferenceExpression
)
937
if (fieldRefExpr.TargetObject is
CodeTypeReferenceExpression
)
1342
if (argExpr is
CodeTypeReferenceExpression
)
1369
if (invokeExpr.Method.TargetObject is
CodeTypeReferenceExpression
)
1748
if (directionExpr.Expression is
CodeTypeReferenceExpression
)
1887
CodeTypeReferenceExpression
typeRefExpr = (
CodeTypeReferenceExpression
)expression;
1899
string message = string.Format(CultureInfo.CurrentCulture, Messages.CannotWriteToExpression, typeof(
CodeTypeReferenceExpression
).ToString());
1924
CodeTypeReferenceExpression
typeRefExpr = (
CodeTypeReferenceExpression
)expression;
1930
CodeTypeReferenceExpression
typeRefExpr = (
CodeTypeReferenceExpression
)expression;
1931
CodeTypeReferenceExpression
newType = new CodeTypeReferenceExpression(CloneType(typeRefExpr.Type));
1954
CodeTypeReferenceExpression
typeRefExpr = (
CodeTypeReferenceExpression
)expression;
1955
CodeTypeReferenceExpression
newType = (
CodeTypeReferenceExpression
)comperand;
2010
if (castExpr.Expression is
CodeTypeReferenceExpression
)
2274
if (targetObject is
CodeTypeReferenceExpression
)
2339
if (argExpr is
CodeTypeReferenceExpression
)
2651
if (targetObject is
CodeTypeReferenceExpression
)
2733
if (argExpr is
CodeTypeReferenceExpression
)
Rules\Parser\Parser.cs (3)
1501
parserContext.SetTypeMemberCompletions(validation.ExpressionInfo(primaryExpr).ExpressionType, validation.ThisType, primaryExpr is
CodeTypeReferenceExpression
, validation);
1538
bool isStatic = postfixExpr is
CodeTypeReferenceExpression
;
2386
if (identExpr is
CodeTypeReferenceExpression
)
Rules\RuleValidation.cs (1)
2306
if (isStatic != (targetExpression is
CodeTypeReferenceExpression
))
Rules\Walker.cs (1)
84
new TypeWrapperTuple(typeof(
CodeTypeReferenceExpression
), new TypeReferenceExpression()),