58 references to CodeFieldReferenceExpression
dotnet-svcutil-lib (58)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
183
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 (7)
256
CodeAttributeArgument browsableAttributeValue = new CodeAttributeArgument(new
CodeFieldReferenceExpression
(browsableAttributeState, editorBrowsableState.ToString()));
320
CodeFieldReferenceExpression fieldRef = new
CodeFieldReferenceExpression
(target, field.Name);
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
(