62 instantiations of CodeFieldReferenceExpression
dotnet-svcutil-lib (62)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
183
new
CodeFieldReferenceExpression
(
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (3)
361
CodeFieldReferenceExpression resultsFieldReference = new
CodeFieldReferenceExpression
();
437
Left = new
CodeFieldReferenceExpression
()
469
TargetObject = new
CodeFieldReferenceExpression
()
CodeDomFixup\ConfigToCode.cs (1)
78
new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(ConfigToCodeConstants.EndpointConfigurationEnumTypeName), endpointNames[0]),
CodeDomFixup\MethodCreationHelper.cs (26)
141
new
CodeFieldReferenceExpression
(
347
new
CodeFieldReferenceExpression
(
361
new
CodeFieldReferenceExpression
(
375
new
CodeFieldReferenceExpression
(
488
new
CodeFieldReferenceExpression
(
502
new
CodeFieldReferenceExpression
(
516
new
CodeFieldReferenceExpression
(
694
new
CodeFieldReferenceExpression
(
732
new
CodeFieldReferenceExpression
(
898
new
CodeFieldReferenceExpression
(
936
new
CodeFieldReferenceExpression
(
1726
new
CodeFieldReferenceExpression
(
1750
new
CodeFieldReferenceExpression
(
1764
new
CodeFieldReferenceExpression
(
1778
new
CodeFieldReferenceExpression
(
1846
new
CodeFieldReferenceExpression
(
1862
new
CodeFieldReferenceExpression
(
1938
new
CodeFieldReferenceExpression
(
1952
new
CodeFieldReferenceExpression
(
1966
new
CodeFieldReferenceExpression
(
2045
new
CodeFieldReferenceExpression
(
2069
new
CodeFieldReferenceExpression
(
2083
new
CodeFieldReferenceExpression
(
2165
new
CodeFieldReferenceExpression
(
2193
new
CodeFieldReferenceExpression
(
2203
new
CodeFieldReferenceExpression
(
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (2)
358
ret.Expression = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), field.Name);
362
CodeExpression left = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), field.Name);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (4)
234
CodeExpression enumRef = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), values[i]);
243
valueExpression = new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(mapping.TypeDesc.FullName), (string)value);
547
assign.Left = new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), field.Name);
912
attribute.Arguments.Add(new CodeAttributeArgument("Form", new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(XmlSchemaForm).FullName), Enum.Format(typeof(XmlSchemaForm), form, "G"))));
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (8)
1589
setNode.Left = new
CodeFieldReferenceExpression
(ThisReference, Globals.NodeArrayFieldName);
1651
new
CodeFieldReferenceExpression
(null, s_typeNameFieldName)
1656
new
CodeFieldReferenceExpression
(null, s_typeNameFieldName)
1686
propertyGet.Expression = new
CodeFieldReferenceExpression
(ThisReference, Globals.ExtensionDataObjectFieldName);
1690
propertySet.Left = new
CodeFieldReferenceExpression
(ThisReference, Globals.ExtensionDataObjectFieldName);
1746
propertyGet.Expression = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
1750
propertySet.Left = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
1755
CodeExpression left = new
CodeFieldReferenceExpression
(ThisReference, fieldName);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SecurityAttributeGenerationHelper.cs (1)
44
newValue = new
CodeFieldReferenceExpression
(
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (8)
256
CodeAttributeArgument browsableAttributeValue = new CodeAttributeArgument(new
CodeFieldReferenceExpression
(browsableAttributeState, editorBrowsableState.ToString()));
320
CodeFieldReferenceExpression fieldRef = new
CodeFieldReferenceExpression
(target, field.Name);
526
CodeFieldReferenceExpression resultsFieldReference = new
CodeFieldReferenceExpression
();
869
invokeAsync.Parameters.Add(new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), beginOperationDelegate.Name));
878
invokeAsync.Parameters.Add(new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), endOperationDelegate.Name));
879
invokeAsync.Parameters.Add(new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), operationCompletedDelegate.Name));
923
new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), delegateField.Name),
927
new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), delegateField.Name),
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
771
new
CodeFieldReferenceExpression
(
831
otherCtor.Statements.Add(new CodeAssignStatement(new
CodeFieldReferenceExpression
(new CodeThisReferenceExpression(), field.Name), new CodeArgumentReferenceExpression(param.Name)));
1028
return new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(type), Enum.Format(type, val, "G"));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (5)
181
return new
CodeFieldReferenceExpression
(new CodeTypeReferenceExpression(typeof(EnumType)), Enum.Format(typeof(EnumType), value, "G"));
361
new
CodeFieldReferenceExpression
(
373
new
CodeFieldReferenceExpression
(
418
new
CodeFieldReferenceExpression
(
614
new
CodeFieldReferenceExpression
(
18 references to CodeFieldReferenceExpression
dotnet-svcutil-lib (18)
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
234
protected override void Visit(
CodeFieldReferenceExpression
expr)
613
else if (expr is
CodeFieldReferenceExpression
)
614
Visit((
CodeFieldReferenceExpression
)expr);
658
protected virtual void Visit(
CodeFieldReferenceExpression
expr) { }
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
361
CodeFieldReferenceExpression
resultsFieldReference = new CodeFieldReferenceExpression();
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (3)
736
else if (e is
CodeFieldReferenceExpression
)
738
GenerateFieldReferenceExpression((
CodeFieldReferenceExpression
)e);
1649
protected abstract void GenerateFieldReferenceExpression(
CodeFieldReferenceExpression
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
749
else if (e is
CodeFieldReferenceExpression
)
751
ValidateFieldReferenceExpression((
CodeFieldReferenceExpression
)e);
883
private void ValidateFieldReferenceExpression(
CodeFieldReferenceExpression
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (3)
976
private void GenerateFieldReferenceExpression(
CodeFieldReferenceExpression
e)
1881
else if (e is
CodeFieldReferenceExpression
)
1883
GenerateFieldReferenceExpression((
CodeFieldReferenceExpression
)e);
FrameworkFork\Microsoft.CodeDom\System\CodeFieldReferenceExpression.cs (2)
30
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeFieldReferenceExpression
'/>.
39
/// Initializes a new instance of <see cref='Microsoft.CodeDom.
CodeFieldReferenceExpression
'/>.
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (2)
320
CodeFieldReferenceExpression
fieldRef = new CodeFieldReferenceExpression(target, field.Name);
526
CodeFieldReferenceExpression
resultsFieldReference = new CodeFieldReferenceExpression();