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