29 instantiations of CodeTypeReferenceExpression
Microsoft.Build.Tasks.Core (4)
system.design\stronglytypedresourcebuilder.cs (2)
410var editorBrowsableStateAdvanced = new CodeAttributeArgument(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(editorBrowsableStateTypeRef), "Advanced")); 455var object_equalsMethod = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Object)), "ReferenceEquals");
WriteCodeFragment.cs (1)
598return new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(targetType), value);
XamlTaskFactory\TaskGenerator.cs (1)
1135var systemReflectionAssembly = new CodeTypeReferenceExpression("System.Reflection.Assembly");
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
1476CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never"); 1835CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1854CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name); 1920CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName); 2574CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Delegate)), "CreateDelegate"); 2675CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(System.UriKind)), "Relative"); 2686CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT); 2767CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new CodeTypeReferenceExpression(typeof(Activator)), "CreateInstance"); 2771CodeFieldReferenceExpression cfre1 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Public"); 2772CodeFieldReferenceExpression cfre2 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "NonPublic"); 2773CodeFieldReferenceExpression cfre3 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Instance"); 2774CodeFieldReferenceExpression cfre4 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "CreateInstance"); 2807cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2836cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT)); 2877CodeFieldReferenceExpression cfre5 = new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(typeof(BindingFlags)), "InvokeMethod");
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1726new CodeTypeReferenceExpression(GetCodeTypeReference(typeof(XmlSerializableServices))), 1747new CodeTypeReferenceExpression(GetCodeTypeReference(typeof(XmlSerializableServices))), 1783new CodeTypeReferenceExpression(GetCodeTypeReference(typeof(XmlSerializableServices))), 2014left = new CodeMethodInvokeExpression(new CodeTypeReferenceExpression(typeof(object)),
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
2006CodeTypeReferenceExpression typeRefExp = new(typeRef); 2013CodeTypeReferenceExpression typeRefExp = new(typeRef); 2022CodeTypeReferenceExpression typeRefExp = new(typeRef);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
51CodeTypeReferenceExpression enumType = new(enumValue.GetType());
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
543new CodeFieldReferenceExpression(new CodeTypeReferenceExpression(editorBrowsableStateType), "Advanced")); 581new(new CodeTypeReferenceExpression(typeof(object)), "ReferenceEquals");
16 references to CodeTypeReferenceExpression
Microsoft.Build.Tasks.Core (1)
XamlTaskFactory\TaskGenerator.cs (1)
1135var systemReflectionAssembly = new CodeTypeReferenceExpression("System.Reflection.Assembly");
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1920CodeTypeReferenceExpression ctreEvent = new CodeTypeReferenceExpression(miEvent.DeclaringType.FullName);
System (1)
src\libraries\shims\System\ref\System.cs (1)
107[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeTypeReferenceExpression))]
System.CodeDom (8)
Microsoft\CSharp\CSharpCodeGenerator.cs (3)
1222else if (e is CodeTypeReferenceExpression) 1224GenerateTypeReferenceExpression((CodeTypeReferenceExpression)e); 1823private void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e) =>
System\CodeDom\Compiler\CodeGenerator.cs (3)
599else if (e is CodeTypeReferenceExpression) 601GenerateTypeReferenceExpression((CodeTypeReferenceExpression)e); 1494protected virtual void GenerateTypeReferenceExpression(CodeTypeReferenceExpression e)
System\CodeDom\Compiler\CodeValidator.cs (2)
763else if (e is CodeTypeReferenceExpression) 765ValidateTypeReference(((CodeTypeReferenceExpression)e).Type);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
697else if (result is CodeTypeReferenceExpression typeReferenceEx) 2006CodeTypeReferenceExpression typeRefExp = new(typeRef); 2013CodeTypeReferenceExpression typeRefExp = new(typeRef); 2022CodeTypeReferenceExpression typeRefExp = new(typeRef);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
51CodeTypeReferenceExpression enumType = new(enumValue.GetType());