61 references to CodeTypeReferenceExpression
PresentationBuildTasks (12)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (12)
1467
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState)), "Never");
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 (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
1840
new
CodeTypeReferenceExpression
(typeof(CompiledDataContext)),
1898
new
CodeTypeReferenceExpression
(typeof(CompiledDataContext)),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1426
private static CodeTypeReferenceExpression TypeExpr(Type type) { return new
CodeTypeReferenceExpression
(type); }
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
490
new
CodeTypeReferenceExpression
(typeof(SyndicationItemProperty)),
493
new
CodeTypeReferenceExpression
(typeof(SyndicationTextContentKind)),
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
77
new
CodeTypeReferenceExpression
(typeof(System.Data.Services.Client.TrackingMode)),
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.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
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 (23)
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 (1)
174
editorBrowsableAttribute.Arguments.Add(new CodeAttributeArgument(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState)), "Never")));
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\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\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\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 (3)
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.Workflow.Activities (3)
Rules\Expressions.cs (1)
434
CodeExpression targetObject = new
CodeTypeReferenceExpression
(method.DeclaringType);
Rules\Parser\Parser.cs (2)
1647
primaryExpr = new
CodeTypeReferenceExpression
(thisType);
1695
primaryExpr = new
CodeTypeReferenceExpression
(thisType);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
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);