73 references to CodeTypeReferenceExpression
PresentationBuildTasks (3)
BuildTasks\Ms\Internal\MarkupCompiler\MarkupCompiler.cs (3)
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);
System.Activities (3)
System\Activities\XamlIntegration\TextExpressionCompiler.cs (3)
1080
new
CodeTypeReferenceExpression
(descriptor.TypeName),
1307
new
CodeTypeReferenceExpression
(descriptor.TypeName),
2275
new
CodeTypeReferenceExpression
(baseType.Name),
System.Data (1)
fx\src\data\System\Data\CodeGen\datacache.cs (1)
1427
private static CodeTypeReferenceExpression TypeExpr(string type) { return new
CodeTypeReferenceExpression
(type); }
System.Management (54)
WmiGenerator.cs (54)
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");
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.Web (2)
Compilation\ObjectFactoryCodeDomTreeGenerator.cs (1)
116
var webObjectActivatorExpr = new CodePropertyReferenceExpression(new
CodeTypeReferenceExpression
("System.Web.HttpRuntime"), "WebObjectActivator");
Compilation\ProfileBuildProvider.cs (1)
282
cmie.Method.TargetObject = new
CodeTypeReferenceExpression
("ProfileBase");
System.Web.Services (5)
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 (1)
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 (1)
AuthoringOM\Serializer\DependencyObjectCodeDomSerializer.cs (1)
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"))));