28 instantiations of CodeTypeReferenceExpression
Microsoft.Build.Tasks.Core (3)
system.design\stronglytypedresourcebuilder.cs (2)
410
var editorBrowsableStateAdvanced = new CodeAttributeArgument(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(editorBrowsableStateTypeRef), "Advanced"));
455
var object_equalsMethod = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(Object)), "ReferenceEquals");
WriteCodeFragment.cs (1)
598
return new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(targetType), value);
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
1477
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(EditorBrowsableState)), "Never");
1836
CodeFieldReferenceExpression cfre = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1854
CodeMethodInvokeExpression cmie = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1918
CodeTypeReferenceExpression ctreEvent = new
CodeTypeReferenceExpression
(miEvent.DeclaringType.FullName);
2582
CodeMethodReferenceExpression cmreCD = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(Delegate)), "CreateDelegate");
2687
CodeFieldReferenceExpression cfreRelUri = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(System.UriKind)), "Relative");
2698
CodeMethodReferenceExpression cmreLoadContent = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(KnownTypes.Types[(int)KnownElements.Application]), LOADCOMPONENT);
2788
CodeMethodReferenceExpression cmreCI = new CodeMethodReferenceExpression(new
CodeTypeReferenceExpression
(typeof(Activator)), "CreateInstance");
2794
CodeFieldReferenceExpression cfre1 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "Public");
2795
CodeFieldReferenceExpression cfre2 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "NonPublic");
2796
CodeFieldReferenceExpression cfre3 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "Instance");
2797
CodeFieldReferenceExpression cfre4 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "CreateInstance");
2834
cmieGPV.Parameters.Add(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), DEFAULT));
2867
cmieSPV.Parameters.Add(new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), DEFAULT));
2914
CodeFieldReferenceExpression cfre5 = new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(typeof(BindingFlags)), "InvokeMethod");
System.Runtime.Serialization.Schema (4)
System\Runtime\Serialization\Schema\CodeExporter.cs (4)
1726
new
CodeTypeReferenceExpression
(GetCodeTypeReference(typeof(XmlSerializableServices))),
1747
new
CodeTypeReferenceExpression
(GetCodeTypeReference(typeof(XmlSerializableServices))),
1783
new
CodeTypeReferenceExpression
(GetCodeTypeReference(typeof(XmlSerializableServices))),
2014
left = new CodeMethodInvokeExpression(new
CodeTypeReferenceExpression
(typeof(object)),
System.Windows.Forms.Design (6)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
2006
CodeTypeReferenceExpression typeRefExp =
new
(typeRef);
2013
CodeTypeReferenceExpression typeRefExp =
new
(typeRef);
2022
CodeTypeReferenceExpression typeRefExp =
new
(typeRef);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
51
CodeTypeReferenceExpression enumType =
new
(enumValue.GetType());
System\Resources\Tools\StronglyTypedResourceBuilder.cs (2)
543
new CodeFieldReferenceExpression(new
CodeTypeReferenceExpression
(editorBrowsableStateType), "Advanced"));
581
new(new
CodeTypeReferenceExpression
(typeof(object)), "ReferenceEquals");
15 references to CodeTypeReferenceExpression
PresentationBuildTasks (1)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (1)
1918
CodeTypeReferenceExpression
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)
1222
else if (e is
CodeTypeReferenceExpression
)
1224
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
1823
private void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e) =>
System\CodeDom\Compiler\CodeGenerator.cs (3)
599
else if (e is
CodeTypeReferenceExpression
)
601
GenerateTypeReferenceExpression((
CodeTypeReferenceExpression
)e);
1494
protected virtual void GenerateTypeReferenceExpression(
CodeTypeReferenceExpression
e)
System\CodeDom\Compiler\CodeValidator.cs (2)
763
else if (e is
CodeTypeReferenceExpression
)
765
ValidateTypeReference(((
CodeTypeReferenceExpression
)e).Type);
System.Windows.Forms.Design (5)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (4)
697
else if (result is
CodeTypeReferenceExpression
typeReferenceEx)
2006
CodeTypeReferenceExpression
typeRefExp = new(typeRef);
2013
CodeTypeReferenceExpression
typeRefExp = new(typeRef);
2022
CodeTypeReferenceExpression
typeRefExp = new(typeRef);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
51
CodeTypeReferenceExpression
enumType = new(enumValue.GetType());