61 references to CodeTypeReferenceExpression
PresentationBuildTasks (12)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (12)
1467CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never"); 2522CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate"); 2600CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(System.UriKind)), "Relative"); 2611CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT); 2692CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance"); 2696CodeFieldReferenceExpression cfre1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Public"); 2697CodeFieldReferenceExpression cfre2 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "NonPublic"); 2698CodeFieldReferenceExpression cfre3 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Instance"); 2699CodeFieldReferenceExpression cfre4 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "CreateInstance"); 2732cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2761cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2802CodeFieldReferenceExpression cfre5 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "InvokeMethod");
System.Activities (2)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (2)
1840new CodeTypeReferenceExpression(typeof(CompiledDataContext)), 1898new CodeTypeReferenceExpression(typeof(CompiledDataContext)),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1426private static CodeTypeReferenceExpression TypeExpr(Type type) { return new CodeTypeReferenceExpression(type); }
System.Data.Services.Design (3)
System\Data\EntityModel\Emitters\AttributeEmitter.cs (2)
490new CodeTypeReferenceExpression(typeof(SyndicationItemProperty)), 493new CodeTypeReferenceExpression(typeof(SyndicationTextContentKind)),
System\Data\EntityModel\Emitters\NavigationPropertyEmitter.cs (1)
77new CodeTypeReferenceExpression(typeof(System.Data.Services.Client.TrackingMode)),
System.Data.SqlXml (2)
System\Xml\Xsl\Xslt\Scripts.cs (1)
266new CodeTypeReferenceExpression(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System\Xml\Xsl\XsltOld\Compiler.cs (1)
786new CodeTypeReferenceExpression(typeof(System.Security.SecurityRuleSet)), "Level1"))));
System.Runtime.Serialization (1)
System\Runtime\Serialization\CodeExporter.cs (1)
1962left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(Globals.TypeOfObject),
System.ServiceModel (9)
System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
44new CodeTypeReferenceExpression(typeof(V)),
System\ServiceModel\Description\ClientClassGenerator.cs (1)
255CodeTypeReferenceExpression browsableAttributeState = new CodeTypeReferenceExpression(typeof(EditorBrowsableState));
System\ServiceModel\Description\OperationGenerator.cs (2)
777new CodeTypeReferenceExpression(typeof(ProtectionLevel)), message.ProtectionLevel.ToString()))); 1035return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(type), Enum.Format(type, val, "G"));
System\ServiceModel\Description\ServiceContractGenerator.cs (5)
235return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G")); 416new CodeTypeReferenceExpression(typeof(ProtectionLevel)), context.Contract.ProtectionLevel.ToString()))); 428new CodeTypeReferenceExpression(typeof(SessionMode)), context.Contract.SessionMode.ToString()))); 473new CodeTypeReferenceExpression(typeof(ProtectionLevel)), operationDescription.ProtectionLevel.ToString()))); 669new CodeTypeReferenceExpression(typeof(ProtectionLevel)), fault.ProtectionLevel.ToString())));
System.Web (23)
Compilation\AppSettingsExpressionBuilder.cs (2)
32new CodeTypeReferenceExpression(this.GetType()), 38new CodeTypeReferenceExpression(this.GetType()),
Compilation\AssemblyBuilder.cs (2)
592CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(enumType), fieldName); 599CodeFieldReferenceExpression field = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(enumType), fieldName);
Compilation\BaseCodeDomTreeGenerator.cs (1)
174editorBrowsableAttribute.Arguments.Add(new CodeAttributeArgument(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never")));
Compilation\BaseTemplateCodeDomTreeGenerator.cs (4)
67new CodeTypeReferenceExpression(typeof(HttpUtility)), 474new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(TemplateInstance)), 668call.Method.TargetObject = new CodeTypeReferenceExpression(typeof(System.Web.UI.StaticPartialCachingControl)); 1307new CodeTypeReferenceExpression(typeof(HttpUtility)),
Compilation\ConnectionStringsExpressionBuilder.cs (2)
58return new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionString", new CodePrimitiveExpression(name)); 61return new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(this.GetType()), "GetConnectionStringProviderName", new CodePrimitiveExpression(name));
Compilation\DataBindingExpressionBuilder.cs (1)
70new CodeTypeReferenceExpression(typeof(HttpUtility)),
Compilation\PageCodeDomTreeGenerator.cs (3)
242new CodeTypeReferenceExpression(typeof(OutputCacheLocation)), 417new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(TraceMode)), Parser.TraceMode.ToString()))); 434new CodeTypeReferenceExpression(typeof(ValidateRequestMode)), "Disabled");
Compilation\PageThemeCodeDomTreeGenerator.cs (1)
71cmie.Method = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(PageTheme)), "CreateSkinKey");
Compilation\RouteUrlExpressionBuilder.cs (1)
31new CodeTypeReferenceExpression(this.GetType()),
Compilation\RouteValueExpressionBuilder.cs (1)
31new CodeTypeReferenceExpression(this.GetType()),
Configuration\BrowserCapabilitiesCodeGenerator.cs (5)
921new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 941new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty"), 1138CodeMethodReferenceExpression emptyCheckMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "IsNullOrEmpty"); 1191new CodeTypeReferenceExpression(typeof(String)), "Empty") })); 1344new CodePropertyReferenceExpression(new CodeTypeReferenceExpression(typeof(String)), "Empty") })));
System.Web.Services (3)
System\Web\Services\Description\ProtocolImporter.cs (2)
670CodeTypeReferenceExpression codeTypeReference = new CodeTypeReferenceExpression(typeof(ConfigurationManager)); 685value = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(System.String)), "Concat", parameters);
System\Web\Services\Description\SoapHttpTransportImporter.cs (1)
27CodeTypeReferenceExpression versionEnumTypeReference = new CodeTypeReferenceExpression(typeof(SoapProtocolVersion));
System.Workflow.Activities (3)
Rules\Expressions.cs (1)
434CodeExpression targetObject = new CodeTypeReferenceExpression(method.DeclaringType);
Rules\Parser\Parser.cs (2)
1647primaryExpr = new CodeTypeReferenceExpression(thisType); 1695primaryExpr = new CodeTypeReferenceExpression(thisType);
System.Workflow.ComponentModel (2)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (2)
107param1 = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(DependencyProperty)), "FromName", new CodePrimitiveExpression(dependencyProperty.Name), new CodeTypeOfExpression(dependencyProperty.OwnerType)); 109param1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(dependencyProperty.OwnerType), dependencyPropertyName);