23 instantiations of CodeMemberField
dotnet-svcutil-lib (23)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
161
CodeMemberField nodesField = new
CodeMemberField
();
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
346
CodeMemberField resultsField = new
CodeMemberField
(typeof(object[]), "results");
411
new
CodeMemberField
()
CodeDomFixup\MethodCreationHelper.cs (1)
72
configurationsEnum.Members.Add(new
CodeMemberField
(ConfigToCodeConstants.EndpointConfigurationEnumTypeName, CodeDomHelpers.EscapeName(endpointName)));
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
308
CodeMemberField field = new
CodeMemberField
(typeof(int).FullName, constant.Name);
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (4)
241
CodeMemberField field = new
CodeMemberField
(fieldType, member.Name);
249
field = new
CodeMemberField
(typeof(bool).FullName, member.Name + "Specified");
263
CodeMemberField field = new
CodeMemberField
(fieldType, fieldName);
274
field = new
CodeMemberField
(typeof(bool).FullName, fieldName + "Specified");
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (4)
812
CodeMemberField field = new
CodeMemberField
(fieldType, member.Name);
820
field = new
CodeMemberField
(typeof(bool).FullName, member.Name + "Specified");
834
CodeMemberField field = new
CodeMemberField
(fieldType, fieldName);
845
field = new
CodeMemberField
(typeof(bool).FullName, fieldName + "Specified");
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (5)
871
CodeMemberField field = new
CodeMemberField
();
1087
CodeMemberField enumMember = new
CodeMemberField
();
1220
CodeMemberField typeNameField = new
CodeMemberField
(Globals.TypeOfXmlQualifiedName, s_typeNameFieldName);
1571
CodeMemberField nodeArrayField = new
CodeMemberField
();
1667
CodeMemberField extensionDataObjectField = new
CodeMemberField
();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (4)
523
CodeMemberField resultsField = new
CodeMemberField
();
641
CodeMemberField beginOperationDelegate = new
CodeMemberField
();
696
CodeMemberField endOperationDelegate = new
CodeMemberField
();
771
CodeMemberField operationCompletedDelegate = new
CodeMemberField
();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (1)
563
CodeMemberField memberDecl = new
CodeMemberField
();
64 references to CodeMemberField
dotnet-svcutil-lib (64)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (1)
161
CodeMemberField
nodesField = new CodeMemberField();
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
280
protected override void Visit(
CodeMemberField
field)
735
else if (member is
CodeMemberField
)
736
Visit((
CodeMemberField
)member);
749
protected virtual void Visit(
CodeMemberField
field) { }
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (1)
346
CodeMemberField
resultsField = new CodeMemberField(typeof(object[]), "results");
CodeDomFixup\CodeDomVisitors\RemoveExtensibleDataObjectImpl.cs (2)
46
memberType = member is
CodeMemberField
? ((
CodeMemberField
)member).Type : null;
CodeDomFixup\CodeDomVisitors\XmlDomAttributeFixer.cs (2)
32
CodeMemberField
memberField = member as
CodeMemberField
;
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (6)
321
if (member is
CodeMemberField
)
323
GenerateField((
CodeMemberField
)member);
834
if (en.Current is
CodeMemberField
)
847
CodeMemberField
imp = (
CodeMemberField
)en.Current;
2029
protected abstract void GenerateField(
CodeMemberField
e);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (3)
77
else if (e is
CodeMemberField
)
79
ValidateField((
CodeMemberField
)e);
249
private void ValidateField(
CodeMemberField
e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (6)
945
if (en.Current is
CodeMemberField
)
958
CodeMemberField
imp = (
CodeMemberField
)en.Current;
1980
private void GenerateField(
CodeMemberField
e)
2791
if (member is
CodeMemberField
)
2793
GenerateField((
CodeMemberField
)member);
FrameworkFork\Microsoft.CodeDom\System\CodeMemberField.cs (2)
30
/// Initializes a new <see cref='Microsoft.CodeDom.
CodeMemberField
'/>.
39
/// Initializes a new <see cref='Microsoft.CodeDom.
CodeMemberField
'/> with the specified member field type and
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (2)
308
CodeMemberField
field = new CodeMemberField(typeof(int).FullName, constant.Name);
345
internal CodeMemberProperty CreatePropertyDeclaration(
CodeMemberField
field, string name, string typeName)
FrameworkFork\Microsoft.Xml\Xml\Serialization\SoapCodeExporter.cs (2)
241
CodeMemberField
field = new CodeMemberField(fieldType, member.Name);
263
CodeMemberField
field = new CodeMemberField(fieldType, fieldName);
FrameworkFork\Microsoft.Xml\Xml\Serialization\XmlCodeExporter.cs (5)
418
private void AddDefaultValueAttribute(
CodeMemberField
field, CodeAttributeDeclarationCollection metadata, object defaultValue, TypeMapping mapping, CodeCommentStatementCollection comments, TypeDesc memberTypeDesc, Accessor accessor, CodeConstructor ctor)
544
private static void AddInitializationStatement(CodeConstructor ctor,
CodeMemberField
field, CodeExpression init)
703
private void AddMemberMetadata(
CodeMemberField
field, CodeAttributeDeclarationCollection metadata, MemberMapping member, string ns, bool forceUseMemberName, CodeCommentStatementCollection comments, CodeConstructor ctor)
812
CodeMemberField
field = new CodeMemberField(fieldType, member.Name);
834
CodeMemberField
field = new CodeMemberField(fieldType, fieldName);
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (8)
871
CodeMemberField
field = new CodeMemberField();
1025
CodeMemberField
extensionDataObjectField = ExtensionDataObjectField;
1087
CodeMemberField
enumMember = new CodeMemberField();
1220
CodeMemberField
typeNameField = new CodeMemberField(Globals.TypeOfXmlQualifiedName, s_typeNameFieldName);
1567
private
CodeMemberField
NodeArrayField
1571
CodeMemberField
nodeArrayField = new CodeMemberField();
1663
private
CodeMemberField
ExtensionDataObjectField
1667
CodeMemberField
extensionDataObjectField = new CodeMemberField();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (17)
317
CodeMemberField
field = member as
CodeMemberField
;
352
private static CodeParameterDeclarationExpression GetRefParameter(CodeParameterDeclarationExpressionCollection parameters, FieldDirection dir,
CodeMemberField
field)
491
CodeMemberField
beginOperationDelegate = CreateBeginOperationDelegate(context, clientType, syncMethodName);
494
CodeMemberField
endOperationDelegate = CreateEndOperationDelegate(context, clientType, syncMethodName);
497
CodeMemberField
operationCompletedDelegate = CreateOperationCompletedDelegate(context, clientType, syncMethodName);
523
CodeMemberField
resultsField = new CodeMemberField();
638
private static
CodeMemberField
CreateBeginOperationDelegate(ServiceContractGenerationContext context,
641
CodeMemberField
beginOperationDelegate = new CodeMemberField();
693
private static
CodeMemberField
CreateEndOperationDelegate(ServiceContractGenerationContext context,
696
CodeMemberField
endOperationDelegate = new CodeMemberField();
768
private static
CodeMemberField
CreateOperationCompletedDelegate(ServiceContractGenerationContext context,
771
CodeMemberField
operationCompletedDelegate = new CodeMemberField();
839
CodeMemberField
beginOperationDelegate, CodeMemberMethod beginOperationMethod,
840
CodeMemberField
endOperationDelegate, CodeMemberMethod endOperationMethod,
841
CodeMemberField
operationCompletedDelegate, CodeMemberMethod operationCompletedMethod)
919
private static CodeStatement CreateDelegateIfNotNull(
CodeMemberField
delegateField, CodeMemberMethod delegateMethod)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (3)
563
CodeMemberField
memberDecl = new CodeMemberField();
826
CodeMemberField
field = member as
CodeMemberField
;