40 references to CodeFieldReferenceExpression
Microsoft.Build.Tasks.Core (5)
system.design\stronglytypedresourcebuilder.cs (4)
410
var editorBrowsableStateAdvanced = new CodeAttributeArgument(new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(editorBrowsableStateTypeRef), "Advanced"));
454
var field_resMgr = new
CodeFieldReferenceExpression
(null, ResMgrFieldName);
478
var field_resCulture = new
CodeFieldReferenceExpression
(null, CultureInfoFieldName);
599
var resCultureField = new
CodeFieldReferenceExpression
((useStatic) ? null : new CodeThisReferenceExpression(), CultureInfoFieldName);
WriteCodeFragment.cs (1)
598
return new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(targetType), value);
PresentationBuildTasks (15)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (15)
1196
ceEvent = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), elementName);
1280
CodeFieldReferenceExpression cfreContentLoaded = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), CONTENT_LOADED);
1476
CodeFieldReferenceExpression cfre = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never");
1835
CodeFieldReferenceExpression cfre = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1921
CodeFieldReferenceExpression cfreEvent = new
CodeFieldReferenceExpression
(ctreEvent, fiEvent.Name);
2607
ccsCL.Condition = new
CodeFieldReferenceExpression
(null, CONTENT_LOADED);
2620
CodeAssignStatement casCL = new CodeAssignStatement(new
CodeFieldReferenceExpression
(null, CONTENT_LOADED),
2675
CodeFieldReferenceExpression cfreRelUri = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(System.UriKind)), "Relative");
2771
CodeFieldReferenceExpression cfre1 = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Public");
2772
CodeFieldReferenceExpression cfre2 = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), "NonPublic");
2773
CodeFieldReferenceExpression cfre3 = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), "Instance");
2774
CodeFieldReferenceExpression cfre4 = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), "CreateInstance");
2807
cmieGPV.Parameters.Add(new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2836
cmieSPV.Parameters.Add(new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), DEFAULT));
2877
CodeFieldReferenceExpression cfre5 = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(BindingFlags)), "InvokeMethod");
System.Runtime.Serialization.Schema (8)
System\Runtime\Serialization\Schema\CodeExporter.cs (8)
1724
setNode.Left = new
CodeFieldReferenceExpression
(ThisReference, ImportGlobals.NodeArrayFieldName);
1786
new
CodeFieldReferenceExpression
(null!, TypeNameFieldName)
1791
new
CodeFieldReferenceExpression
(null!, TypeNameFieldName)
1941
propertyGet.Expression = new
CodeFieldReferenceExpression
(ThisReference, ImportGlobals.ExtensionDataObjectFieldName);
1945
propertySet.Left = new
CodeFieldReferenceExpression
(ThisReference, ImportGlobals.ExtensionDataObjectFieldName);
2001
propertyGet.Expression = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
2005
propertySet.Left = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
2010
CodeExpression left = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
System.Windows.Forms.Design (12)
System\ComponentModel\Design\Serialization\CodeDomSerializer.cs (2)
336
new
CodeFieldReferenceExpression
(s_thisRef, name[..dotIndex]),
338
: new
CodeFieldReferenceExpression
(s_thisRef, name);
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (3)
2023
expression = new
CodeFieldReferenceExpression
(typeRefExp, fieldInfo.Name);
2463
expression = new CodePropertyReferenceExpression(new
CodeFieldReferenceExpression
(root.Expression, name[..dotIndex]), name[(dotIndex + 1)..]);
2467
expression = new
CodeFieldReferenceExpression
(root.Expression, name);
System\ComponentModel\Design\Serialization\ComponentCodeDomSerializer.cs (1)
235
assignLhs = new
CodeFieldReferenceExpression
(rootCtx!.Expression, name);
System\ComponentModel\Design\Serialization\ContainerCodeDomSerializer.cs (1)
57
lhs = new
CodeFieldReferenceExpression
(rootCtx.Expression, ContainerName);
System\ComponentModel\Design\Serialization\EnumCodeDomSerializer.cs (1)
67
CodeExpression newExpression = new
CodeFieldReferenceExpression
(enumType, termString);
System\Resources\Tools\StronglyTypedResourceBuilder.cs (4)
543
new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(editorBrowsableStateType), "Advanced"));
579
CodeFieldReferenceExpression resourceManagerField =
new
(null, ResourceManagerFieldName);
630
CodeFieldReferenceExpression cultureInfoField =
new
(targetObject: null, CultureInfoFieldName);
735
CodeFieldReferenceExpression cultureInfoField =
new
(useStatic