3 types derived from CodeMemberMethod
dotnet-svcutil-lib (3)
FrameworkFork\Microsoft.CodeDom\System\CodeConstructor.cs (1)
23public class CodeConstructor : CodeMemberMethod
FrameworkFork\Microsoft.CodeDom\System\CodeEntryPointMethod.cs (1)
23public class CodeEntryPointMethod : CodeMemberMethod
FrameworkFork\Microsoft.CodeDom\System\CodeTypeConstructor.cs (1)
23public class CodeTypeConstructor : CodeMemberMethod
28 instantiations of CodeMemberMethod
dotnet-svcutil-lib (28)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
190CodeMemberMethod getSchemaMethod = new CodeMemberMethod(); 207CodeMemberMethod writeXml = new CodeMemberMethod(); 238CodeMemberMethod readXml = new CodeMemberMethod();
CodeDomFixup\CodeDomHelpers.cs (1)
64CodeMemberMethod m = new CodeMemberMethod();
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (1)
32CodeMemberMethod implMethod = new CodeMemberMethod
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (2)
244CodeMemberMethod operationCompletedMethod = new CodeMemberMethod(); 422CodeMemberMethod m = new CodeMemberMethod();
CodeDomFixup\MethodCreationHelper.cs (4)
25this.GetEndpointAddress = new CodeMemberMethod 34this.GetBinding = new CodeMemberMethod 2174this.GetDefaultBinding = new CodeMemberMethod 2181this.GetDefaultEndpointAddress = new CodeMemberMethod
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (1)
406CodeMemberMethod raisePropertyChangedEventMethod = new CodeMemberMethod();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (5)
1582CodeMemberMethod readXmlMethod = new CodeMemberMethod(); 1604CodeMemberMethod writeXmlMethod = new CodeMemberMethod(); 1626CodeMemberMethod getSchemaMethod = new CodeMemberMethod(); 1640CodeMemberMethod getSchemaStaticMethod = new CodeMemberMethod(); 1702CodeMemberMethod raisePropertyChangedEventMethod = new CodeMemberMethod();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (7)
264CodeMemberMethod helperMethod = new CodeMemberMethod(); 471CodeMemberMethod m = new CodeMemberMethod(); 654CodeMemberMethod onBeginOperationMethod = new CodeMemberMethod(); 708CodeMemberMethod onEndOperationMethod = new CodeMemberMethod(); 784CodeMemberMethod operationCompletedMethod = new CodeMemberMethod(); 843CodeMemberMethod eventAsyncMethod = new CodeMemberMethod(); 890CodeMemberMethod eventAsyncMethodOverload = new CodeMemberMethod();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (4)
278CodeMemberMethod syncMethod = new CodeMemberMethod(); 287beginMethod = new CodeMemberMethod(); 294endMethod = new CodeMemberMethod(); 321CodeMemberMethod taskBasedAsyncMethod = new CodeMemberMethod { Name = syncMethodName + ServiceReflector.AsyncMethodNameSuffix };
148 references to CodeMemberMethod
dotnet-svcutil-lib (148)
CodeDomFixup\ArrayOfXElementTypeHelper.cs (3)
190CodeMemberMethod getSchemaMethod = new CodeMemberMethod(); 207CodeMemberMethod writeXml = new CodeMemberMethod(); 238CodeMemberMethod readXml = new CodeMemberMethod();
CodeDomFixup\CodeDomHelpers.cs (12)
46internal static CodeMemberMethod FindMethodByName(CodeTypeMemberCollection members, string methodName) 48return CollectionHelpers.Find<CodeMemberMethod>( 50delegate (CodeMemberMethod method) 57internal static CodeMemberMethod GetTaskAsyncMethodForMethod(CodeTypeMemberCollection members, CodeMemberMethod method) 62internal static CodeMemberMethod GetImplementationOfMethod(CodeTypeReference ifaceType, CodeMemberMethod method) 64CodeMemberMethod m = new CodeMemberMethod(); 78private static string GetMethodNameBase(CodeMemberMethod method) 93internal static bool IsTaskAsyncMethod(CodeMemberMethod method) 100internal static bool IsBeginMethod(CodeMemberMethod method) 110internal static bool IsEndMethod(CodeMemberMethod method)
CodeDomFixup\CodeDomVisitors\AddAsyncOpenClose.cs (2)
26private CodeMemberMethod GenerateTaskBasedAsyncMethod(string methodName, NameScope nameScope) 32CodeMemberMethod implMethod = new CodeMemberMethod
CodeDomFixup\CodeDomVisitors\CodeDomVisitor.cs (4)
287protected override void Visit(CodeMemberMethod method) 737else if (member is CodeMemberMethod) 738Visit((CodeMemberMethod)member); 750protected virtual void Visit(CodeMemberMethod method)
CodeDomFixup\CodeDomVisitors\CreateCallbackImpl.cs (13)
77CollectionHelpers.MapList<CodeMemberMethod>( 79delegate (CodeMemberMethod method) 216foreach (CodeMemberMethod method in callbackInterface.Members) 232CodeMemberMethod member = CreateOperationReceivedMethod(nameScope, method, eventArgs, evt); 241private static CodeMemberMethod CreateOperationReceivedMethod(CodeTypeNameScope nameScope, CodeMemberMethod syncMethod, 244CodeMemberMethod operationCompletedMethod = new CodeMemberMethod(); 312private static CodeMemberEvent CreateOperationReceivedEvent(CodeTypeNameScope nameScope, CodeMemberMethod syncMethod, 333private static CodeTypeDeclaration CreateOperationReceivedEventArgsType(CodeTypeNameScope nameScope, CodeMemberMethod syncMethod) 422CodeMemberMethod m = new CodeMemberMethod(); 450foreach (CodeMemberMethod method in callbackInterface.Members) 453CodeMemberMethod m = CodeDomHelpers.GetImplementationOfMethod(callbackImpl.BaseTypes[1], method); 520private static bool IsSyncOperationContract(CodeMemberMethod method)
CodeDomFixup\CodeDomVisitors\MakeOldAsyncMethodsPrivate.cs (2)
28CollectionHelpers.MapList<CodeMemberMethod>(type.Members, MapMethodFirstPass, null); 34private bool MapMethodFirstPass(CodeMemberMethod method)
CodeDomFixup\CodeDomVisitors\RemoveSyncMethodsFromClientClass.cs (2)
15CollectionHelpers.MapList<CodeMemberMethod>( 17delegate (CodeMemberMethod method)
CodeDomFixup\CodeDomVisitors\RemoveSyncMethodsFromInterface.cs (4)
16CollectionHelpers.MapList<CodeMemberMethod>( 18delegate (CodeMemberMethod method) 28private void CopyAttrsToTaskAsyncMethod(CodeMemberMethod syncMethod, int index) 30CodeMemberMethod taskAyncMethod = CodeDomHelpers.GetTaskAsyncMethodForMethod(CurrentType.Members, syncMethod);
CodeDomFixup\MethodCreationHelper.cs (4)
46private CodeMemberMethod GetEndpointAddress { get; set; } 48private CodeMemberMethod GetBinding { get; set; } 50private CodeMemberMethod GetDefaultEndpointAddress { get; set; } 52private CodeMemberMethod GetDefaultBinding { get; set; }
FrameworkFork\Microsoft.CodeDom\Compiler\CodeGenerator.cs (6)
329else if (member is CodeMemberMethod) 345GenerateMethod((CodeMemberMethod)member, declaredType); 932if (en.Current is CodeMemberMethod 947CodeMemberMethod imp = (CodeMemberMethod)en.Current; 2049protected abstract void GenerateMethod(CodeMemberMethod e, CodeTypeDeclaration c);
FrameworkFork\Microsoft.CodeDom\Compiler\CodeValidator.cs (4)
81else if (e is CodeMemberMethod) 83ValidateMemberMethod((CodeMemberMethod)e); 334private void ValidateMemberMethod(CodeMemberMethod e) 365private void ValidateMethod(CodeMemberMethod e)
FrameworkFork\Microsoft.CodeDom\Microsoft\CSharpCodeProvider.cs (6)
2063if (en.Current is CodeMemberMethod 2078CodeMemberMethod imp = (CodeMemberMethod)en.Current; 2103private void GenerateMethod(CodeMemberMethod e, CodeTypeDeclaration c) 2799else if (member is CodeMemberMethod) 2815GenerateMethod((CodeMemberMethod)member, declaredType);
FrameworkFork\Microsoft.Xml\Xml\Serialization\CodeExporter.cs (2)
402internal static CodeMemberMethod RaisePropertyChangedEventMethod 406CodeMemberMethod raisePropertyChangedEventMethod = new CodeMemberMethod();
FrameworkFork\System.Runtime.Serialization\System\Runtime\Serialization\CodeExporter.cs (11)
1043CodeMemberMethod raisePropertyChangedEventMethod = RaisePropertyChangedEventMethod; 1578private CodeMemberMethod ReadXmlMethod 1582CodeMemberMethod readXmlMethod = new CodeMemberMethod(); 1600private CodeMemberMethod WriteXmlMethod 1604CodeMemberMethod writeXmlMethod = new CodeMemberMethod(); 1622private CodeMemberMethod GetSchemaMethod 1626CodeMemberMethod getSchemaMethod = new CodeMemberMethod(); 1636private CodeMemberMethod GetSchemaStaticMethod 1640CodeMemberMethod getSchemaStaticMethod = new CodeMemberMethod(); 1698private CodeMemberMethod RaisePropertyChangedEventMethod 1702CodeMemberMethod raisePropertyChangedEventMethod = new CodeMemberMethod();
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ClientClassGenerator.cs (43)
212CodeMemberMethod beginMethod = GenerateClientClassMethod(clientType, contractTypeRef, operationContext.BeginMethod, _tryAddHelperMethod, declaringContractTypeRef); 213CodeMemberMethod endMethod = GenerateClientClassMethod(clientType, contractTypeRef, operationContext.EndMethod, _tryAddHelperMethod, declaringContractTypeRef); 232private static CodeMemberMethod GenerateClientClassMethod(CodeTypeDeclaration clientType, CodeTypeReference contractTypeRef, CodeMemberMethod method, bool addHelperMethod, CodeTypeReference declaringContractTypeRef) 234CodeMemberMethod methodImpl = GetImplementationOfMethod(contractTypeRef, method); 237CodeMemberMethod helperMethod = null; 262private static CodeMemberMethod GenerateHelperMethod(CodeTypeReference ifaceType, CodeMemberMethod method) 264CodeMemberMethod helperMethod = new CodeMemberMethod(); 312private static CodeMethodReturnStatement GenerateParameters(CodeMemberMethod helperMethod, CodeTypeDeclaration codeTypeDeclaration, CodeExpression target, FieldDirection dir) 444CodeMemberMethod method = (CodeMemberMethod)methodObject; 456private static void AddMethodImpl(CodeMemberMethod method) 469private static CodeMemberMethod GetImplementationOfMethod(CodeTypeReference ifaceType, CodeMemberMethod method) 471CodeMemberMethod m = new CodeMemberMethod(); 486string syncMethodName, CodeMemberMethod beginMethod, CodeMemberMethod endMethod) 492CodeMemberMethod beginOperationMethod = CreateBeginOperationMethod(context, clientType, syncMethodName, beginMethod); 495CodeMemberMethod endOperationMethod = CreateEndOperationMethod(context, clientType, syncMethodName, endMethod); 498CodeMemberMethod operationCompletedMethod = CreateOperationCompletedMethod(context, clientType, syncMethodName, operationCompletedEventArgsType, operationCompletedEvent); 500CodeMemberMethod eventAsyncMethod = CreateEventAsyncMethod(context, clientType, syncMethodName, beginMethod, 511string syncMethodName, CodeMemberMethod endMethod) 583private static int GetAsyncResultParamIndex(CodeMemberMethod endMethod) 651private static CodeMemberMethod CreateBeginOperationMethod(ServiceContractGenerationContext context, CodeTypeDeclaration clientType, 652string syncMethodName, CodeMemberMethod beginMethod) 654CodeMemberMethod onBeginOperationMethod = new CodeMemberMethod(); 706private static CodeMemberMethod CreateEndOperationMethod(ServiceContractGenerationContext context, CodeTypeDeclaration clientType, string syncMethodName, CodeMemberMethod endMethod) 708CodeMemberMethod onEndOperationMethod = new CodeMemberMethod(); 781private static CodeMemberMethod CreateOperationCompletedMethod(ServiceContractGenerationContext context, CodeTypeDeclaration clientType, 784CodeMemberMethod operationCompletedMethod = new CodeMemberMethod(); 837private static CodeMemberMethod CreateEventAsyncMethod(ServiceContractGenerationContext context, CodeTypeDeclaration clientType, 838string syncMethodName, CodeMemberMethod beginMethod, 839CodeMemberField beginOperationDelegate, CodeMemberMethod beginOperationMethod, 840CodeMemberField endOperationDelegate, CodeMemberMethod endOperationMethod, 841CodeMemberField operationCompletedDelegate, CodeMemberMethod operationCompletedMethod) 843CodeMemberMethod eventAsyncMethod = new CodeMemberMethod(); 888private static CodeMemberMethod CreateEventAsyncMethodOverload(CodeTypeDeclaration clientType, CodeMemberMethod eventAsyncMethod) 890CodeMemberMethod eventAsyncMethodOverload = new CodeMemberMethod(); 919private static CodeStatement CreateDelegateIfNotNull(CodeMemberField delegateField, CodeMemberMethod delegateMethod) 993private static bool IsVoid(CodeMemberMethod method)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationContractGenerationContext.cs (18)
15private readonly CodeMemberMethod _syncMethod; 16private readonly CodeMemberMethod _beginMethod; 18private readonly CodeMemberMethod _endMethod; 22private readonly CodeMemberMethod _taskMethod; 42public OperationContractGenerationContext(ServiceContractGenerator serviceContractGenerator, ServiceContractGenerationContext contract, OperationDescription operation, CodeTypeDeclaration declaringType, CodeMemberMethod syncMethod, CodeMemberMethod beginMethod, CodeMemberMethod endMethod, CodeMemberMethod taskMethod) 60public OperationContractGenerationContext(ServiceContractGenerator serviceContractGenerator, ServiceContractGenerationContext contract, OperationDescription operation, CodeTypeDeclaration declaringType, CodeMemberMethod syncMethod, CodeMemberMethod beginMethod, CodeMemberMethod endMethod) 75public OperationContractGenerationContext(ServiceContractGenerator serviceContractGenerator, ServiceContractGenerationContext contract, OperationDescription operation, CodeTypeDeclaration declaringType, CodeMemberMethod syncMethod, CodeMemberMethod taskMethod) 87public OperationContractGenerationContext(ServiceContractGenerator serviceContractGenerator, ServiceContractGenerationContext contract, OperationDescription operation, CodeTypeDeclaration declaringType, CodeMemberMethod method) 114public CodeMemberMethod BeginMethod 119public CodeMemberMethod EndMethod 124public CodeMemberMethod TaskMethod 129public CodeMemberMethod SyncMethod
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (6)
101private CodeMemberMethod _method; 102private CodeMemberMethod _endMethod; 220CodeMemberMethod method = _method; 226CodeMemberMethod endMethod = _endMethod; 412internal ParameterizedMethodGenerator(CodeMemberMethod beginMethod, CodeMemberMethod endMethod)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\ServiceContractGenerator.cs (6)
278CodeMemberMethod syncMethod = new CodeMemberMethod(); 283CodeMemberMethod beginMethod = null; 284CodeMemberMethod endMethod = null; 321CodeMemberMethod taskBasedAsyncMethod = new CodeMemberMethod { Name = syncMethodName + ServiceReflector.AsyncMethodNameSuffix }; 593CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod; 817CodeMemberMethod methodDecl = context.SyncMethod ?? context.BeginMethod;