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)
1200
ceEvent = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), elementName);
1284
CodeFieldReferenceExpression cfreContentLoaded = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), CONTENT_LOADED);
1477
CodeFieldReferenceExpression cfre = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(EditorBrowsableState)), "Never");
1836
CodeFieldReferenceExpression cfre = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(desc.MemberInfo.DeclaringType.FullName), desc.MemberInfo.Name);
1919
CodeFieldReferenceExpression cfreEvent = new
CodeFieldReferenceExpression
(ctreEvent, fiEvent.Name);
2618
Condition = new
CodeFieldReferenceExpression
(null, CONTENT_LOADED)
2632
CodeAssignStatement casCL = new CodeAssignStatement(new
CodeFieldReferenceExpression
(null, CONTENT_LOADED),
2687
CodeFieldReferenceExpression cfreRelUri = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(System.UriKind)), "Relative");
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 (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