33 overrides of Signature
ILCompiler.Compiler (22)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (1)
196public override MethodSignature Signature => _targetMethod.Signature;
Compiler\ReachabilityInstrumentationProvider.cs (1)
269public override MethodSignature Signature
IL\Stubs\StartupCode\NativeLibraryStartupMethod.cs (1)
87public override MethodSignature Signature
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (2)
175public override MethodSignature Signature 250public override MethodSignature Signature
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
393public override MethodSignature Signature => _targetMethod.Signature; 506public override MethodSignature Signature => _targetMethod.Signature;
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
63public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
34public override MethodSignature Signature => _signature ??= InitializeSignature();
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (1)
56public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (1)
123public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
46public sealed override MethodSignature Signature 686public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (1)
92public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (1)
54public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\GetFieldHelperMethodOverride.cs (1)
47public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
66public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (1)
73public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (1)
60public override MethodSignature Signature
parent\parent\Common\TypeSystem\Interop\IL\InlineArrayType.cs (1)
352public override MethodSignature Signature
parent\parent\Common\TypeSystem\Interop\IL\PInvokeDelegateWrapperConstructor.cs (1)
44public override MethodSignature Signature
ILCompiler.ReadyToRun (4)
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (2)
393public override MethodSignature Signature => _targetMethod.Signature; 506public override MethodSignature Signature => _targetMethod.Signature;
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
34public override MethodSignature Signature => _signature ??= InitializeSignature();
ILCompiler.TypeSystem (7)
parent\parent\Common\TypeSystem\Common\ArrayType.cs (1)
229public override MethodSignature Signature
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
63public override MethodSignature Signature
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
26public override MethodSignature Signature => _wrappedMethod.Signature;
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
56public override MethodSignature Signature
parent\parent\Common\TypeSystem\Ecma\EcmaMethod.cs (1)
92public override MethodSignature Signature
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeTargetNativeMethod.cs (1)
51public override MethodSignature Signature
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
35public override MethodSignature Signature => _typicalMethodDef.Signature;
462 references to Signature
ilc (5)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
RdXmlRootProvider.cs (3)
166if (parameter.Count != method.Signature.Length) 169for (int i = 0; i < method.Signature.Length; i++) 171if (method.Signature[i] != parameter[i])
ILCompiler.Compiler (252)
Compiler\BodySubstitution.cs (1)
43Debug.Assert(method.Signature.ReturnType.IsVoid);
Compiler\BodySubstitutionParser.cs (2)
78if (method.Signature.ReturnType.IsVoid) 82object substitution = TryCreateSubstitution(method.Signature.ReturnType, GetAttribute(methodNav, "value"));
Compiler\Compilation.cs (3)
187if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetType"u8) 199if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetExecutingAssembly"u8) 211if (intrinsicMethod.Signature.IsStatic && intrinsicMethod.Name == "GetCurrentMethod"u8)
Compiler\CompilerTypeSystemContext.InterfaceThunks.cs (4)
73Debug.Assert(!targetMethod.Signature.IsStatic); 177Debug.Assert(!targetMethod.Signature.IsStatic); 196public override MethodSignature Signature => _targetMethod.Signature; 255for (int i = 0; i < _targetMethod.Signature.Length; i++)
Compiler\Dataflow\AsyncMaskingILProvider.cs (1)
33if (method.IsAsync && method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask())
Compiler\Dataflow\AttributeDataFlow.cs (2)
85if (setter != null && setter.Signature.Length > 0 && !setter.Signature.IsStatic)
Compiler\Dataflow\DiagnosticUtilities.cs (2)
108if (!method.Signature.IsStatic) 130if ((method.Signature.IsStatic || method.IsConstructor) && method.OwningType is TypeDesc owningType &&
Compiler\Dataflow\FlowAnnotations.cs (2)
716found.IsStatic != body.OwningMethod.Signature.IsStatic || 736LogValidationWarning((method.Signature.ReturnType, method), baseMethod, origin);
Compiler\Dataflow\MethodBodyScanner.cs (3)
798bool ilHasReturnValue = !methodIL.OwningMethod.Signature.ReturnType.IsVoid; 1172if (!isNewObj && !methodCalled.Signature.IsStatic) 1304if (isNewObj || !calledMethod.Signature.ReturnType.IsVoid)
Compiler\Dataflow\MethodReturnValue.cs (1)
24StaticType = isNewObj ? method.OwningType : method.Signature.ReturnType;
Compiler\Dataflow\ReflectionMethodBodyScanner.cs (7)
297if (!calledMethod.Signature.IsStatic) 447if (!method.Signature.IsStatic && !method.HasInstantiation && !method.IsConstructor && !method.OwningType.IsValueType) 490aotUnsafeDelegate = IsAotUnsafeDelegate(calledMethod.Signature.ReturnType); 491comDangerousMethod = IsComInterop(returnParamMetadata.MarshalAsDescriptor, calledMethod.Signature.ReturnType); 492for (int paramIndex = 0; paramIndex < calledMethod.Signature.Length; paramIndex++) 501aotUnsafeDelegate |= IsAotUnsafeDelegate(calledMethod.Signature[paramIndex]); 502comDangerousMethod |= IsComInterop(marshalAsDescriptor, calledMethod.Signature[paramIndex]);
Compiler\DelegateCreationInfo.cs (4)
66return TargetMethod.OwningType.IsValueType && !TargetMethod.Signature.IsStatic; 191int paramCountTargetMethod = targetMethod.Signature.Length; 192if (!targetMethod.Signature.IsStatic) 209if (targetMethod.Signature.IsStatic)
Compiler\DependencyAnalysis\AddressTakenMethodNode.cs (1)
35public override MethodSignature Signature => Method.Signature;
Compiler\DependencyAnalysis\EETypeNode.cs (2)
151MethodDesc slotDecl = method.Signature.IsStatic ? 455bool isStaticInterfaceMethod = interfaceMethod.Signature.IsStatic;
Compiler\DependencyAnalysis\ExactMethodInstantiationsNode.cs (2)
55bool getUnboxingStub = method.OwningType.IsValueType && !method.Signature.IsStatic; 108bool getUnboxingStub = method.OwningType.IsValueType && !method.Signature.IsStatic;
Compiler\DependencyAnalysis\GenericLookupResult.cs (2)
1103if (instantiatedConstrainedMethod.Signature.IsStatic) 1134Debug.Assert(instantiatedConstraintType.IsValueType || (instantiatedConstrainedMethod.OwningType.IsInterface && instantiatedConstrainedMethod.Signature.IsStatic));
Compiler\DependencyAnalysis\GenericVirtualMethodImplNode.cs (2)
27Debug.Assert(method.IsVirtual || (method.Signature.IsStatic && !method.IsAbstract)); 51bool getUnboxingStub = _method.OwningType.IsValueType && !_method.Signature.IsStatic;
Compiler\DependencyAnalysis\ILScanNodeFactory.cs (1)
47Debug.Assert(!method.Signature.IsStatic);
Compiler\DependencyAnalysis\InterfaceDispatchMapNode.cs (6)
108if (isInterface && !declMethod.Signature.IsStatic) 114var implMethod = declMethod.Signature.IsStatic ? 180if (!declMethod.Signature.IsStatic && !needsEntriesForInstanceInterfaceMethodImpls) 186var implMethod = declMethod.Signature.IsStatic ? 204if (targetMethod.Signature.IsStatic) 256if (declMethod.Signature.IsStatic)
Compiler\DependencyAnalysis\MetadataEETypeNode.cs (1)
67if (intfaceMethod.Signature.IsStatic)
Compiler\DependencyAnalysis\NativeLayoutVertexNode.cs (3)
109public virtual bool IsUnboxingStub => _method.OwningType.IsValueType && !_method.Signature.IsStatic; 653if (method.Signature.IsStatic && !method.OwningType.IsInterface) 1480return (_constrainedMethod.HasInstantiation, _constrainedMethod.Signature.IsStatic) switch
Compiler\DependencyAnalysis\ReflectionInvokeMapNode.cs (4)
54var signature = method.Signature; 60if (method.OwningType.IsValueType && !method.Signature.IsStatic) 153bool goesThroughInstantiatingUnboxingThunk = method.OwningType.IsValueType && !method.Signature.IsStatic && !method.HasInstantiation; 193unboxingStub: method.OwningType.IsValueType && !method.Signature.IsStatic))));
Compiler\DependencyAnalysis\ReflectionInvokeSupportDependencyAlgorithm.cs (1)
31MethodSignature sig = method.Signature;
Compiler\DependencyAnalysis\SealedVTableNode.cs (12)
129if (!virtualSlots[i].Signature.IsStatic && !needsEntriesForInstanceInterfaceMethodImpls) 139node = factory.AddressTakenMethodEntrypoint(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !implMethod.Signature.IsStatic && declType.IsValueType); 141node = factory.MethodEntrypoint(implMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !implMethod.Signature.IsStatic && declType.IsValueType); 170if (!declMethod.Signature.IsStatic && !needsEntriesForInstanceInterfaceMethodImpls) 177var implMethod = declMethod.Signature.IsStatic ? 185if (implMethod.Signature.IsStatic || !implMethod.OwningType.HasSameTypeDefinition(declType)) 195if (targetMethod.CanMethodBeInSealedVTable(factory) || implMethod.Signature.IsStatic) 199node = factory.AddressTakenMethodEntrypoint(targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !targetMethod.Signature.IsStatic && declType.IsValueType); 201node = factory.MethodEntrypoint(targetMethod.GetCanonMethodTarget(CanonicalFormKind.Specific), unboxingStub: !targetMethod.Signature.IsStatic && declType.IsValueType); 218if (canonImplMethod.IsCanonicalMethod(CanonicalFormKind.Any) && !canonImplMethod.Signature.IsStatic) 234node = factory.AddressTakenMethodEntrypoint(canonImplMethod, unboxingStub: implMethod.OwningType.IsValueType && !implMethod.Signature.IsStatic); 236node = factory.MethodEntrypoint(canonImplMethod, unboxingStub: implMethod.OwningType.IsValueType && !implMethod.Signature.IsStatic);
Compiler\DependencyAnalysis\StringAllocatorMethodNode.cs (1)
41var signatureBuilder = new MethodSignatureBuilder(constructorMethod.Signature);
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunGenericHelperNode.cs (2)
177Debug.Assert(target.Constructor.Method.Signature.Length == 3); 182Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM\ARMReadyToRunHelperNode.cs (2)
116Debug.Assert(target.Constructor.Method.Signature.Length == 3); 121Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunGenericHelperNode.cs (2)
175Debug.Assert(target.Constructor.Method.Signature.Length == 3); 180Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_ARM64\ARM64ReadyToRunHelperNode.cs (2)
131Debug.Assert(target.Constructor.Method.Signature.Length == 3); 136Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunGenericHelperNode.cs (2)
177Debug.Assert(target.Constructor.Method.Signature.Length == 3); 182Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_LoongArch64\LoongArch64ReadyToRunHelperNode.cs (2)
123Debug.Assert(target.Constructor.Method.Signature.Length == 3); 128Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunGenericHelperNode.cs (2)
174Debug.Assert(target.Constructor.Method.Signature.Length == 3); 179Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_RiscV64\RiscV64ReadyToRunHelperNode.cs (2)
121Debug.Assert(target.Constructor.Method.Signature.Length == 3); 126Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunGenericHelperNode.cs (2)
185Debug.Assert(target.Constructor.Method.Signature.Length == 3); 190Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X64\X64ReadyToRunHelperNode.cs (2)
136Debug.Assert(target.Constructor.Method.Signature.Length == 3); 141Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunGenericHelperNode.cs (2)
174Debug.Assert(target.Constructor.Method.Signature.Length == 3); 183Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\Target_X86\X86ReadyToRunHelperNode.cs (2)
141Debug.Assert(target.Constructor.Method.Signature.Length == 3); 149Debug.Assert(target.Constructor.Method.Signature.Length == 2);
Compiler\DependencyAnalysis\TentativeInstanceMethodNode.cs (1)
27Debug.Assert(!methodNode.Method.Signature.IsStatic);
Compiler\DependencyAnalysis\TypeGVMEntriesNode.cs (1)
114MethodDesc slotDecl = method.Signature.IsStatic ?
Compiler\DependencyAnalysis\TypeMetadataNode.cs (1)
90_ = method.Signature;
Compiler\ILAssemblyGeneratingMethodDebugInfoProvider.cs (4)
68if (!owningMethod.Signature.IsStatic) 70_tw.Write(fmt.FormatName(owningMethod.Signature.ReturnType)); 85for (int i = 0; i < owningMethod.Signature.Length; i++) 89_tw.Write(fmt.FormatName(owningMethod.Signature[i]));
Compiler\LibraryRootProvider.cs (1)
86MethodSignature signature = method.Signature;
Compiler\Logging\DocumentationSignatureParser.cs (2)
616if (GetSignaturePart(method.Signature.ReturnType) != returnType) 623if (!AllParametersMatch(method.Signature, parameters))
Compiler\MetadataManager.cs (5)
422if (method.IsAsync && !method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask()) 472if (method.Signature.IsStatic && method.IsSynchronized) 707return _typeSystemContext.GetDynamicInvokeThunk(method.Signature, 708!method.Signature.IsStatic && method.OwningType.IsValueType); 944MetadataRecord signature = transform.HandleMethodSignature(methodToGenerateMetadataFor.Signature);
Compiler\SubstitutedILProvider.cs (7)
681TypeFlags returnType = method.Signature.ReturnType.UnderlyingType.Category; 746for (int i = 0; i < callee.Signature.Length + (callee.Signature.IsStatic ? 0 : 1); i++) 815&& ((opcode != ILOpcode.callvirt && !method.Signature.IsStatic) || !method.IsVirtual)) 820if (((opcode != ILOpcode.callvirt && !method.Signature.IsStatic) || !method.IsVirtual) 846if (method.Signature.Length > 0 || !method.Signature.IsStatic)
Compiler\TypePreinit.cs (10)
343bool returnsVoid = methodIL.OwningMethod.Signature.ReturnType.IsVoid; 352returnValue = stack.PopIntoLocation(methodIL.OwningMethod.Signature.ReturnType); 482MethodSignature methodSig = method.Signature; 505&& (method.Signature.IsStatic || method.IsConstructor || owningType.IsValueType || owningType.IsInterface) // ECMA-335 I.8.9.5 554MethodSignature ctorSig = ctor.Signature; 627if ((firstParameter == null) != pointedMethod.Signature.IsStatic) 1981var sig = method.Signature; 3283Debug.Assert(_methodPointed.Signature.IsStatic == (_target == null)); 3294if (_methodPointed.Signature.IsStatic) 3334public bool IsKnownImmutable => _methodPointed.Signature.IsStatic;
Compiler\UserDefinedTypeDescriptor.cs (1)
193MethodSignature signature = method.Signature;
Compiler\WindowsNodeMangler.cs (2)
101callConv = method.Signature.GetStandaloneMethodSignatureCallingConventions(); 112foreach (var p in method.Signature)
IL\ILImporter.Scanner.cs (12)
141(_canonMethod.Signature.IsStatic || _canonMethod.IsConstructor || owningType.IsValueType || owningType.IsInterface)) 164if (_canonMethod.Signature.IsStatic) 517MethodSignature sig = ctorMethod.GetTypicalMethodDefinition().Signature; 549if ((method.Signature.Flags & MethodSignatureFlags.UnmanagedCallingConventionMask) == MethodSignatureFlags.CallingConventionVarargs) 570bool allowAsyncVariant = method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask(); 766|| methodAfterConstraintResolution.Signature.IsStatic); 773else if (method.Signature.IsStatic) 803if (targetMethod.Signature.IsStatic) 853Debug.Assert(targetMethod.OwningType.IsValueType || targetMethod.Signature.IsStatic); 989else if (method.Signature.IsStatic) 2045TypeDesc taskReturnType = taskReturningMethod.Signature.ReturnType; 2053TypeDesc returnType = runtimeDeterminedCaller.Signature.ReturnType;
IL\RvaIntrinsicPatternAnalyzer.cs (3)
167int argumentCount = constructor.Signature.Length; 324MethodSignature signature = method.Signature; 337MethodSignature signature = method.Signature;
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
254return WrappedMethod.Signature;
parent\parent\Common\Compiler\AsyncMethodVariant.cs (1)
36var signature = _wrappedMethod.Signature;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (6)
39Debug.Assert(originalMethod.Signature.ReturnsTaskOrValueTask()); 40Debug.Assert(resolvedMethod.Signature.ReturnsTaskOrValueTask()); 46if (!originalMethod.Signature.ReturnType.HasInstantiation 47&& !asyncVariant.Signature.ReturnType.IsVoid) 193Debug.Assert(taskReturningMethod.Signature.ReturnsTaskOrValueTask()); 244Debug.Assert(!asyncVariantMethod.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (7)
57Debug.Assert(!targetMethod.Signature.IsStatic); 383Debug.Assert(!targetMethod.Signature.IsStatic); 393public override MethodSignature Signature => _targetMethod.Signature; 458for (int i = 0; i < _targetMethod.Signature.Length; i++) 496Debug.Assert(!targetMethod.Signature.IsStatic); 506public override MethodSignature Signature => _targetMethod.Signature; 565for (int i = 0; i < _targetMethod.Signature.Length; i++)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
227MethodSignature sig = method.Signature;
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
156if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Static && !method.Signature.IsStatic) 159if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Instance && method.Signature.IsStatic) 202if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Static && !method.Signature.IsStatic) 205if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Instance && method.Signature.IsStatic)
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (7)
73if (!method.Signature.IsStatic) 83if (!method.Signature[index].IsByRef) 121int implicitThisOffset = !method.Signature.IsStatic ? 1 : 0; 122return new ParameterProxyEnumerable(implicitThisOffset, method.Signature.Length + implicitThisOffset, method); 128public static int GetMetadataParametersCount(this MethodDesc method) => method.Signature.Length; 139=> method.Signature.Length + (method.Signature.IsStatic ? 0 : 1);
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (3)
71internal partial bool IsStatic() => Method.Signature.IsStatic; 73internal partial bool HasImplicitThis() => !Method.Signature.IsStatic; 75internal partial bool ReturnsVoid() => Method.Signature.ReturnType.IsVoid;
parent\parent\Common\Compiler\Dataflow\ParameterProxy.cs (1)
18: Method.Method.Signature[MetadataIndex].InstantiateSignature (Method.Method.OwningType.Instantiation, Method.Method.Instantiation);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (2)
144MethodDesc slotDecl = interfaceMethod.Signature.IsStatic ? 173if (implementingMethodInstantiation.Signature.IsStatic)
parent\parent\Common\Compiler\DependencyAnalysis\INodeWithTypeSignature.cs (1)
17MethodSignature INodeWithTypeSignature.Signature => Method.Signature;
parent\parent\Common\Compiler\DisplayNameHelpers.cs (5)
88if (method.Signature.Length > 0) 90for (int i = 0; i < method.Signature.Length - 1; i++) 92TypeDesc instantiatedType = method.Signature[i].InstantiateSignature(method.OwningType.Instantiation, method.Instantiation); 96sb.Append(method.Signature[method.Signature.Length - 1].GetDisplayNameWithoutNamespace());
parent\parent\Common\Compiler\MethodExtensions.cs (3)
119if (method.Signature.IsStatic) 149return !method.Signature.IsStatic && /* Static methods don't have this */ 203public static bool IsAsyncCall(this MethodDesc method) => method.IsAsyncVariant() || method.IsReturnDroppingAsyncThunk() || (method.IsAsync && !method.Signature.ReturnsTaskOrValueTask());
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (4)
239if (!method.Signature.ReturnType.IsVoid) 241output.Append(typeNameFormatter.FormatName(method.Signature.ReturnType)); 248for (int paramIndex = 0; paramIndex < method.Signature.Length; paramIndex++) 254output.Append(typeNameFormatter.FormatName(method.Signature[paramIndex]));
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (3)
534formatter.AppendName(sb, meth.Signature.ReturnType); 544for (int i = 0; i < meth.Signature.Length; i++) 549formatter.AppendName(sb, meth.Signature[i]);
parent\parent\Common\Compiler\TypeExtensions.cs (6)
46(method.HasInstantiation || method.Signature.IsStatic || method.ImplementationType.IsValueType || (method.ImplementationType.IsInterface && !method.IsAbstract)); 64return (method.Signature.IsStatic || method.ImplementationType.IsValueType || (method.ImplementationType.IsInterface && !method.IsAbstract)) && 76!method.Signature.IsStatic && 430if (interfaceMethod.Signature.IsStatic) 641Debug.Assert(method.Signature.IsStatic); 759if (method.Signature.IsStatic)
parent\parent\Common\JitInterface\WasmLowering.cs (1)
576return GetSignature(method.Signature, GetLoweringFlags(method));
parent\parent\Common\TypeSystem\IL\DelegateInfo.cs (1)
74return InvokeMethod.Signature;
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\NativeAotILProvider.cs (1)
108if (method.Name == "CreateInstance"u8 && method.Signature.Length == 0 && method.HasInstantiation
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (5)
59if (!_targetMethod.Signature.IsStatic) 82foreach (var param in _targetMethod.Signature) 100bool returnsVoid = _targetMethod.Signature.ReturnType.IsVoid; 104resultLocal = ilEmitter.NewLocal(_targetMethod.Signature.ReturnType); 122ilStream.Emit(ILOpcode.stobj, ilEmitter.NewToken(_targetMethod.Signature.ReturnType));
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (2)
25MethodSignature sig = taskReturningMethod.Signature; 273MethodSignature sig = returnDroppingMethod.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (3)
131_signature = _invokeMethod.Signature; 146MethodSignature delegateSignature = _invokeMethod.Signature; 230return _invokeMethod.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMethodILEmitter.cs (4)
58MethodSignature signature = method.Signature; 83TypeDesc[] parameters = new TypeDesc[method.Signature.Length]; 86parameters[i] = method.Signature[i].ReplaceTypesInConstructionOfType(typesToReplace, replacementTypes); 88TypeDesc returnType = method.Signature.ReturnType.ReplaceTypesInConstructionOfType(typesToReplace, replacementTypes);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
159if (!_delegateInfo.Thunks.SignatureSupportsOpenInstanceThunks(specializedMethod.Signature)) 494if (!_delegateInfo.Thunks.SignatureSupportsObjectArrayThunk(specializedMethod.Signature))
parent\parent\Common\TypeSystem\IL\Stubs\GetCanonTypeIntrinsic.cs (2)
18Debug.Assert(target.Signature.Length == 0); 25Debug.Assert(target.Signature.ReturnType == runtimeTypeHandleType);
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (4)
66methodSig = targetMethod.Signature; 268bool isHRSwappedRetVal = !_flags.PreserveSig && !_targetMethod.Signature.ReturnType.IsVoid; 325_targetMethod.Signature.Flags, 0, nativeReturnType, nativeParameterTypes); 396bool isHRSwappedRetVal = !_flags.PreserveSig && !_targetMethod.Signature.ReturnType.IsVoid;
parent\parent\Common\TypeSystem\IL\Stubs\TypeGetTypeMethodThunk.cs (8)
75Debug.Assert(Signature[0] == _helperMethod.Signature[0]); 78Debug.Assert(_helperMethod.Signature[1].IsString); 81for (int i = 2; i < _helperMethod.Signature.Length; i++) 92Debug.Assert(_helperMethod.Signature[i] == Signature[i - 1]); 98Debug.Assert(_helperMethod.Signature[i].IsWellKnownType(WellKnownType.Boolean)); 149return key.DefaultAssemblyName.GetHashCode() ^ key.GetTypeOverload.Signature.GetHashCode(); 158key.GetTypeOverload.Signature.Equals(value.Signature); 176MethodSignature signature = key.GetTypeOverload.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\TypeSystemThrowingILEmitter.cs (3)
34if (helper.Signature.Length != exception.Arguments.Count + 1) 60if (helper.Signature.Length != exception.Arguments.Count + 1) 78Debug.Assert(helper.Signature.Length == exception.Arguments.Count + 1);
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (10)
101Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 119Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 139Debug.Assert(method.Signature.IsStatic && method.Signature.Length == (write ? 2 : 1)); 157Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 212Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 1);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
450targetMethod.Signature,
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
320var sig = method.GetTypicalMethodDefinition().Signature;
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (3)
292|| interfaceMethod.Signature.Length != method.Signature.Length 293|| interfaceMethod.Signature.IsStatic != method.Signature.IsStatic) 296MethodDesc impl = interfaceMethod.Signature.IsStatic ?
ILCompiler.MetadataTransform (4)
ILCompiler\Metadata\Transform.CustomAttribute.cs (1)
53Cts.MethodSignature sig = constructor.Signature;
ILCompiler\Metadata\Transform.Method.cs (3)
79Cts.MethodSignature sig = entity.Signature; 82: HandleMethodSignature(entity.Signature); 140record.Signature = HandleMethodSignature(entity.GetTypicalMethodDefinition().Signature);
ILCompiler.ReadyToRun (137)
Compiler\DependencyAnalysis\InheritedVirtualMethodsNode.cs (1)
99if (interfaceMethod.HasInstantiation || interfaceMethod.Signature.IsStatic)
Compiler\DependencyAnalysis\ReadyToRun\CopiedMethodILNode.cs (1)
83if (method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask())
Compiler\DependencyAnalysis\ReadyToRun\DelegateCtorSignature.cs (1)
46if (_targetMethod.Method.IsVirtual && _targetMethod.Method.Signature.IsStatic)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (2)
126(ArgIterator<TypeHandle> argit, TransitionBlock transitionBlock) = BuildArgIterator(method.Signature, method.Context, 220GcScanRoots(method.Signature[argIndex], in argDest, delta: 0, frame, topLevel: true);
Compiler\DependencyAnalysis\ReadyToRun\TypeValidationChecker.cs (6)
382if (!methodBody.Signature.ApplySubstitution(type.Instantiation).EquivalentWithCovariantReturnType(methodDecl.Signature.ApplySubstitution(type.Instantiation))) 400bool isStatic = methodBody.Signature.IsStatic; 441bool staticInterfaceMethod = interfaceMethod.Signature.IsStatic; 507if (!implementationMethod.Signature.ApplySubstitution(type.Instantiation).EquivalentWithCovariantReturnType(implementationOnBaseType.Signature.ApplySubstitution(type.Instantiation)))
Compiler\DependencyAnalysis\ReadyToRun\WasmImportThunkPortableEntrypoint.cs (1)
111MethodSignature signature = method.Signature;
Compiler\DependencyAnalysis\ReadyToRunCodegenNodeFactory.cs (2)
166&& !method.Signature.IsStatic 197WasmSignature signature = WasmLowering.GetSignature(thunk.Signature, WasmLowering.LoweringFlags.None);
Compiler\ProfileDataManager.cs (5)
202if (targetMeth.Signature.IsStatic || !targetMeth.IsTypicalMethodDefinition) 215entities = SampleMethodsCompatibleWithDelegateInvocation(targetMeth.Signature, rand); 430if (!method.Signature.IsStatic && !method.IsAbstract && !method.IsGenericMethodDefinition) 434if (!delegateTargets.TryGetValue(method.Signature, out HashSet<MethodDesc> set)) 435delegateTargets.Add(method.Signature, set = new HashSet<MethodDesc>());
Compiler\ReadyToRunLibraryRootProvider.cs (1)
90MethodSignature signature = method.Signature;
Compiler\RuntimeDeterminedTypeHelper.cs (7)
106method1.Signature.Length != method2.Signature.Length || 108!Equals(method1.Signature.ReturnType, method2.Signature.ReturnType)) 112for (int argIndex = 0; argIndex < method1.Signature.Length; argIndex++) 114if (!Equals(method1.Signature[argIndex], method2.Signature[argIndex]))
IL\ReadyToRunILProvider.cs (4)
54&& method.Signature.Length == 0 61MethodDesc createDefaultInstance = method.OwningType.GetKnownMethod("CreateDefaultInstance"u8, method.GetTypicalMethodDefinition().Signature); 189if (method.Signature.ReturnsTaskOrValueTask()) 201if (method.Signature.ReturnsTaskOrValueTask())
IL\Stubs\PInvokeILEmitter.cs (1)
52_targetMethod.Signature.Flags, 0, nativeReturnType,
JitInterface\CorInfoImpl.ReadyToRun.cs (12)
769if (ShouldSkipCompilation(compilation.InstructionSetSupport, method) || MethodSignatureIsUnstable(method.Signature, out var _)) 799if (MethodSignatureIsUnstable(MethodBeingCompiled.Signature, out var _)) 1980bool isStaticVirtual = (originalMethod.Signature.IsStatic && originalMethod.IsVirtual); 1985if (originalMethod.Signature.IsStatic && isCallVirt) 2061Debug.Assert(!methodAfterConstraintResolution.OwningType.IsInterface || (isStaticVirtual && methodAfterConstraintResolution.Signature.IsStatic)); 2137else if (targetMethod.Signature.IsStatic) 2410foreach (TypeDesc type in method.Signature) 2455if (MethodSignatureIsUnstable(method.Signature, out string unstableMessage)) 2537ValidateSafetyOfUsingTypeEquivalenceInSignature(targetMethod.GetTypicalMethodDefinition().Signature); 2564VerifyMethodSignatureIsStable(targetMethod.Signature); 2629VerifyMethodSignatureIsStable(targetMethod.Signature); 3058if ((td.IsValueType) && !md.Signature.IsStatic
parent\parent\Common\Compiler\AsyncMethodVariant.cs (1)
36var signature = _wrappedMethod.Signature;
parent\parent\Common\Compiler\CompilerTypeSystemContext.Async.cs (6)
39Debug.Assert(originalMethod.Signature.ReturnsTaskOrValueTask()); 40Debug.Assert(resolvedMethod.Signature.ReturnsTaskOrValueTask()); 46if (!originalMethod.Signature.ReturnType.HasInstantiation 47&& !asyncVariant.Signature.ReturnType.IsVoid) 193Debug.Assert(taskReturningMethod.Signature.ReturnsTaskOrValueTask()); 244Debug.Assert(!asyncVariantMethod.Signature.ReturnType.IsVoid);
parent\parent\Common\Compiler\CompilerTypeSystemContext.BoxedTypes.cs (7)
57Debug.Assert(!targetMethod.Signature.IsStatic); 383Debug.Assert(!targetMethod.Signature.IsStatic); 393public override MethodSignature Signature => _targetMethod.Signature; 458for (int i = 0; i < _targetMethod.Signature.Length; i++) 496Debug.Assert(!targetMethod.Signature.IsStatic); 506public override MethodSignature Signature => _targetMethod.Signature; 565for (int i = 0; i < _targetMethod.Signature.Length; i++)
parent\parent\Common\Compiler\CompilerTypeSystemContext.Validation.cs (1)
227MethodSignature sig = method.Signature;
parent\parent\Common\Compiler\Dataflow\DynamicallyAccessedMembersBinder.cs (4)
156if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Static && !method.Signature.IsStatic) 159if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Instance && method.Signature.IsStatic) 202if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Static && !method.Signature.IsStatic) 205if ((bindingFlags & (BindingFlags.Instance | BindingFlags.Static)) == BindingFlags.Instance && method.Signature.IsStatic)
parent\parent\Common\Compiler\Dataflow\EcmaExtensions.cs (7)
73if (!method.Signature.IsStatic) 83if (!method.Signature[index].IsByRef) 121int implicitThisOffset = !method.Signature.IsStatic ? 1 : 0; 122return new ParameterProxyEnumerable(implicitThisOffset, method.Signature.Length + implicitThisOffset, method); 128public static int GetMetadataParametersCount(this MethodDesc method) => method.Signature.Length; 139=> method.Signature.Length + (method.Signature.IsStatic ? 0 : 1);
parent\parent\Common\Compiler\Dataflow\MethodProxy.cs (3)
71internal partial bool IsStatic() => Method.Signature.IsStatic; 73internal partial bool HasImplicitThis() => !Method.Signature.IsStatic; 75internal partial bool ReturnsVoid() => Method.Signature.ReturnType.IsVoid;
parent\parent\Common\Compiler\Dataflow\ParameterProxy.cs (1)
18: Method.Method.Signature[MetadataIndex].InstantiateSignature (Method.Method.OwningType.Instantiation, Method.Method.Instantiation);
parent\parent\Common\Compiler\DependencyAnalysis\GVMDependenciesNode.cs (2)
144MethodDesc slotDecl = interfaceMethod.Signature.IsStatic ? 173if (implementingMethodInstantiation.Signature.IsStatic)
parent\parent\Common\Compiler\DependencyAnalysis\INodeWithTypeSignature.cs (1)
17MethodSignature INodeWithTypeSignature.Signature => Method.Signature;
parent\parent\Common\Compiler\DisplayNameHelpers.cs (5)
88if (method.Signature.Length > 0) 90for (int i = 0; i < method.Signature.Length - 1; i++) 92TypeDesc instantiatedType = method.Signature[i].InstantiateSignature(method.OwningType.Instantiation, method.Instantiation); 96sb.Append(method.Signature[method.Signature.Length - 1].GetDisplayNameWithoutNamespace());
parent\parent\Common\Compiler\MethodExtensions.cs (2)
149return !method.Signature.IsStatic && /* Static methods don't have this */ 203public static bool IsAsyncCall(this MethodDesc method) => method.IsAsyncVariant() || method.IsReturnDroppingAsyncThunk() || (method.IsAsync && !method.Signature.ReturnsTaskOrValueTask());
parent\parent\Common\Compiler\ObjectWriter\OutputInfoBuilder.cs (4)
239if (!method.Signature.ReturnType.IsVoid) 241output.Append(typeNameFormatter.FormatName(method.Signature.ReturnType)); 248for (int paramIndex = 0; paramIndex < method.Signature.Length; paramIndex++) 254output.Append(typeNameFormatter.FormatName(method.Signature[paramIndex]));
parent\parent\Common\Compiler\ProcessLinkerXmlBase.cs (3)
534formatter.AppendName(sb, meth.Signature.ReturnType); 544for (int i = 0; i < meth.Signature.Length; i++) 549formatter.AppendName(sb, meth.Signature[i]);
parent\parent\Common\Compiler\TypeExtensions.cs (6)
46(method.HasInstantiation || method.Signature.IsStatic || method.ImplementationType.IsValueType || (method.ImplementationType.IsInterface && !method.IsAbstract)); 64return (method.Signature.IsStatic || method.ImplementationType.IsValueType || (method.ImplementationType.IsInterface && !method.IsAbstract)) && 76!method.Signature.IsStatic && 430if (interfaceMethod.Signature.IsStatic) 641Debug.Assert(method.Signature.IsStatic); 759if (method.Signature.IsStatic)
parent\parent\Common\JitInterface\CorInfoImpl.cs (13)
883Get_CORINFO_SIG_INFO(method.Signature, sig, scope); 1115Debug.Assert(!method.Signature.IsStatic); 1145if (method.Signature.IsStatic) 1784if ((methodDesc.Signature.Flags & MethodSignatureFlags.UnmanagedCallingConventionMask) == 0) 1798callingConventions = methodDesc.Signature.GetStandaloneMethodSignatureCallingConventions(); 2037ValidateSafetyOfUsingTypeEquivalenceInSignature(method.Signature); 2123if (!method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask()) 2939if (md.Signature.IsStatic) 3704TypeDesc taskReturnType = taskReturningMethod.Signature.ReturnType; 3710TypeDesc returnType = caller.Signature.ReturnType; 3712TypeDesc runtimeDeterminedReturnType = runtimeDeterminedCaller.Signature.ReturnType; 4880if (!isFallbackBodyCompilation && !this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method 4895if (!isFallbackBodyCompilation && MarshalHelpers.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
26Debug.Assert(!wrappedMethod.Signature.IsStatic);
parent\parent\Common\JitInterface\WasmLowering.cs (1)
576return GetSignature(method.Signature, GetLoweringFlags(method));
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (5)
59if (!_targetMethod.Signature.IsStatic) 82foreach (var param in _targetMethod.Signature) 100bool returnsVoid = _targetMethod.Signature.ReturnType.IsVoid; 104resultLocal = ilEmitter.NewLocal(_targetMethod.Signature.ReturnType); 122ilStream.Emit(ILOpcode.stobj, ilEmitter.NewToken(_targetMethod.Signature.ReturnType));
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (2)
25MethodSignature sig = taskReturningMethod.Signature; 273MethodSignature sig = returnDroppingMethod.Signature;
parent\parent\Common\TypeSystem\IL\Stubs\UnsafeIntrinsics.cs (10)
101Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 119Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 139Debug.Assert(method.Signature.IsStatic && method.Signature.Length == (write ? 2 : 1)); 157Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 2); 212Debug.Assert(method.Signature.IsStatic && method.Signature.Length == 1);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (1)
450targetMethod.Signature,
parent\parent\Common\TypeSystem\MetadataEmitter\TypeSystemMetadataEmitter.cs (1)
320var sig = method.GetTypicalMethodDefinition().Signature;
PortableCallHelpers\InteropSignature.cs (1)
46=> WasmLowering.GetSignature(method.Signature, flags).SignatureString;
src\runtime\src\coreclr\tools\Common\Compiler\GenericCycleDetection\GraphBuilder.cs (3)
292|| interfaceMethod.Signature.Length != method.Signature.Length 293|| interfaceMethod.Signature.IsStatic != method.Signature.IsStatic) 296MethodDesc impl = interfaceMethod.Signature.IsStatic ?
ILCompiler.RyuJit (30)
Compiler\DependencyAnalysis\MethodCodeNode.cs (2)
189MethodSignature sig = _method.Signature; 233varType = _method.Signature[(int)varInfo.VarNumber - offset];
Compiler\DependencyAnalysis\RyuJitNodeFactory.cs (1)
55Debug.Assert(!method.Signature.IsStatic);
JitInterface\CorInfoImpl.RyuJit.cs (9)
403Debug.Assert(targetMethod.IsVirtual && targetMethod.Signature.IsStatic 426Debug.Assert(directMethod.OwningType.IsValueType || directMethod.Signature.IsStatic); 979MethodSignature sig = methodIL.OwningMethod.Signature; 1214if (method.Signature.IsStatic && (flags & CORINFO_CALLINFO_FLAGS.CORINFO_CALLINFO_CALLVIRT) != 0) 1268|| methodAfterConstraintResolution.Signature.IsStatic); 1276else if (method.Signature.IsStatic) 1333if (targetMethod.Signature.IsStatic) 1389pResult->nullInstanceCheck = !targetMethod.Signature.IsStatic; 1561else if (targetMethod.Signature.IsStatic)
parent\parent\Common\JitInterface\CorInfoImpl.cs (12)
883Get_CORINFO_SIG_INFO(method.Signature, sig, scope); 1115Debug.Assert(!method.Signature.IsStatic); 1145if (method.Signature.IsStatic) 1784if ((methodDesc.Signature.Flags & MethodSignatureFlags.UnmanagedCallingConventionMask) == 0) 1798callingConventions = methodDesc.Signature.GetStandaloneMethodSignatureCallingConventions(); 2123if (!method.GetTypicalMethodDefinition().Signature.ReturnsTaskOrValueTask()) 2939if (md.Signature.IsStatic) 3704TypeDesc taskReturnType = taskReturningMethod.Signature.ReturnType; 3710TypeDesc returnType = caller.Signature.ReturnType; 3712TypeDesc runtimeDeterminedReturnType = runtimeDeterminedCaller.Signature.ReturnType; 4880if (!isFallbackBodyCompilation && !this.MethodBeingCompiled.Signature.IsStatic) // Must be a static method 4895if (!isFallbackBodyCompilation && MarshalHelpers.IsMarshallingRequired(this.MethodBeingCompiled.Signature, ((MetadataType)this.MethodBeingCompiled.OwningType).Module)) // Only blittable arguments
parent\parent\Common\JitInterface\UnboxingMethodDesc.cs (1)
26Debug.Assert(!wrappedMethod.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\Stubs\TypeSystemThrowingILEmitter.cs (3)
34if (helper.Signature.Length != exception.Arguments.Count + 1) 60if (helper.Signature.Length != exception.Arguments.Count + 1) 78Debug.Assert(helper.Signature.Length == exception.Arguments.Count + 1);
ILCompiler.TypeSystem (34)
parent\parent\Common\TypeSystem\Common\CastingHelper.TypeEquivalence.cs (2)
191return invoke1.Signature.EquivalentTo(invoke2.Signature, visited);
parent\parent\Common\TypeSystem\Common\InstantiatedMethod.cs (1)
69MethodSignature template = _methodDef.Signature;
parent\parent\Common\TypeSystem\Common\MetadataVirtualMethodAlgorithm.cs (12)
384MethodSignature sig = targetMethod.Signature; 392if (candidate.Signature.EquivalentTo(sig)) 398if (candidate.Signature.Equals(sig)) 588if (implSlot.Signature.EquivalentWithCovariantReturnType(unificationGroup.DefiningMethod.Signature)) 609(addDeclGroup.RequiresSlotUnification(declSlot) && addDeclGroup.DefiningMethod.Signature.EquivalentWithCovariantReturnType(declSlot.Signature))); 643if (implSlot.Signature.EquivalentWithCovariantReturnType(unificationGroup.DefiningMethod.Signature)) 700Debug.Assert(!interfaceMethod.Signature.IsStatic); 773Debug.Assert(!interfaceMethod.Signature.IsStatic); 1195Debug.Assert(interfaceMethod.Signature.IsStatic);
parent\parent\Common\TypeSystem\Common\MethodDelegator.cs (1)
26public override MethodSignature Signature => _wrappedMethod.Signature;
parent\parent\Common\TypeSystem\Common\MethodDesc.ToString.cs (1)
73sb.Append(Signature.ToString(includeReturnType: false));
parent\parent\Common\TypeSystem\Common\MethodForInstantiatedType.cs (1)
62MethodSignature template = _typicalMethodDef.Signature;
parent\parent\Common\TypeSystem\Common\ThrowHelper.Common.cs (1)
94return Method(method.OwningType, method.GetName(), method.Signature);
parent\parent\Common\TypeSystem\Common\TypeDesc.cs (2)
543if (signature == null || signature.Equals(method.Signature.ApplySubstitution(substitution))) 556if (signature == null || signature.EquivalentTo(method.Signature.ApplySubstitution(substitution)))
parent\parent\Common\TypeSystem\Common\TypeDesc.TypeEquivalence.cs (1)
135if (!method.Signature.IsStatic)
parent\parent\Common\TypeSystem\IL\HelperExtensions.cs (2)
57Debug.Assert(method.Signature.Length == 0 && method.Signature.IsStatic);
parent\parent\Common\TypeSystem\IL\ILDisassembler.cs (1)
84MethodSignature signature = method.GetMethodDefinition().Signature;
parent\parent\Common\TypeSystem\IL\ILStackHelper.cs (2)
255methodSignature : ((MethodDesc)obj).Signature; 278bool hasReturnValue = !methodIL.OwningMethod.Signature.ReturnType.IsVoid;
parent\parent\Common\TypeSystem\IL\MethodILDebugView.cs (4)
33if (!owningMethod.Signature.IsStatic) 35disasm.AppendType(sb, owningMethod.Signature.ReturnType); 50for (int i = 0; i < owningMethod.Signature.Length; i++) 54disasm.AppendType(sb, owningMethod.Signature[i]);
parent\parent\Common\TypeSystem\IL\UnsafeAccessors.cs (2)
256MethodSignature maybeSig = method.Signature; 437if (context.IsTargetStatic != md.Signature.IsStatic)
parent\parent\Common\TypeSystem\RuntimeDetermined\MethodForRuntimeDeterminedType.cs (1)
35public override MethodSignature Signature => _typicalMethodDef.Signature;