65 references to Static
ILCompiler.Compiler (36)
Compiler\DependencyAnalysis\StringAllocatorMethodNode.cs (1)
42signatureBuilder.Flags = MethodSignatureFlags.Static;
Compiler\JitHelper.cs (2)
226new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t])); 233new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t]));
Compiler\ReachabilityInstrumentationProvider.cs (1)
273_signature ??= new MethodSignature(MethodSignatureFlags.Static, 0,
IL\ILImporter.Scanner.cs (3)
1126MethodSignatureFlags.Static, 2060MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 2069MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]);
IL\Stubs\StartupCode\NativeLibraryStartupMethod.cs (1)
91_signature ??= new MethodSignature(MethodSignatureFlags.Static | MethodSignatureFlags.UnmanagedCallingConvention, 0,
IL\Stubs\StartupCode\StartupCodeMainMethod.cs (1)
179_signature ??= new MethodSignature(MethodSignatureFlags.Static | MethodSignatureFlags.UnmanagedCallingConvention, 0,
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\JitInterface\WasmLowering.cs (2)
30return new MethodSignature(MethodSignatureFlags.Static, 0, signature.Context.GetWellKnownType(WellKnownType.String), arguments); 539MethodSignatureFlags flags = hasThis ? MethodSignatureFlags.None : MethodSignatureFlags.Static;
parent\parent\Common\TypeSystem\IL\Stubs\AssemblyGetExecutingAssemblyMethodThunk.cs (1)
25Signature = new MethodSignature(MethodSignatureFlags.Static, 0,
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
50return _signature = new MethodSignature(MethodSignatureFlags.Static, 0, objectType, [objectType, byrefByte]);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (4)
163MethodSignatureFlags.Static, 176MethodSignatureFlags.Static, 198MethodSignatureFlags.Static, 211MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\IL\Stubs\CalliMarshallingMethodThunk.cs (1)
82MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs (2)
152builder.Flags = MethodSignatureFlags.Static | unmanagedCallingConvention; 209_signature = new MethodSignature(MethodSignatureFlags.Static | unmanagedCallingConvention, 0, nativeReturnType, nativeParameterTypes);
parent\parent\Common\TypeSystem\IL\Stubs\DelegateThunks.cs (2)
111builder.Flags = Signature.Flags | MethodSignatureFlags.Static; 260Signature.Flags | MethodSignatureFlags.Static, 0, Signature.ReturnType, targetMethodParameters);
parent\parent\Common\TypeSystem\IL\Stubs\DynamicInvokeMethodThunk.cs (2)
41flags |= MethodSignatureFlags.Static; 102MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\IL\Stubs\ForwardDelegateCreationThunk.cs (1)
58_signature ??= new MethodSignature(MethodSignatureFlags.Static, 0,
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
61MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\IL\Stubs\MethodBaseGetCurrentMethodThunk.cs (1)
25Signature = new MethodSignature(MethodSignatureFlags.Static, 0,
parent\parent\Common\TypeSystem\IL\Stubs\PInvokeILEmitter.cs (3)
173MethodSignatureFlags.Static, 0, _marshallers[0].ManagedParameterType, parameters); 242MethodSignatureFlags.Static | unmanagedCallingConvention, 0, nativeReturnType, nativeParameterTypes); 304MethodSignatureFlags.Static | MethodSignatureFlags.UnmanagedCallingConvention, 0, nativeReturnType, nativeParameterTypes,
parent\parent\Common\TypeSystem\IL\Stubs\StructMarshallingThunk.cs (1)
103_signature = new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), parameters);
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.Aot.cs (1)
1229new MethodSignature(MethodSignatureFlags.Static, 0, customMarshallerType, [ Context.GetWellKnownType(WellKnownType.String) ]));
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (2)
2061new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetWellKnownType(WellKnownType.IntPtr), 2087new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetSignatureVariable(0, method: true),
parent\parent\Common\TypeSystem\Interop\InteropStateManager.cs (1)
192normalizedSignatureBuilder.Flags = (signature.Flags & MethodSignatureFlags.Static) | MethodSignatureFlags.UnmanagedCallingConvention;
ILCompiler.MetadataTransform (1)
ILCompiler\Metadata\Transform.Method.cs (1)
243if ((signature.Flags & Cts.MethodSignatureFlags.Static) == 0)
ILCompiler.ReadyToRun (21)
Compiler\DependencyAnalysis\ReadyToRun\GCRefMapBuilder.cs (1)
80bool hasThis = (signature.Flags & MethodSignatureFlags.Static) == 0;
Compiler\DependencyAnalysis\ReadyToRun\SignatureBuilder.cs (1)
381SignatureAttributes callingConventionAttributes = ((type.Signature.Flags & MethodSignatureFlags.Static) != 0 ? SignatureAttributes.None : SignatureAttributes.Instance);
Compiler\ReadyToRunCodegenCompilation.cs (4)
1034asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 0, voidType, [taskType])), 1035asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 0, voidType, [valueTaskType])), 1036asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 1, methodVar, [taskOfTType.MakeInstantiatedType(methodVar)])), 1037asyncHelpers.GetKnownMethod("TransparentAwait"u8, new MethodSignature(MethodSignatureFlags.Static, 1, methodVar, [valueTaskOfTType.MakeInstantiatedType(methodVar)])),
IL\Stubs\InstanceCalliHelperIntrinsics.cs (1)
52builder.Flags = (sig.Flags | MethodSignatureFlags.ExplicitThis) & ~MethodSignatureFlags.Static;
parent\parent\Common\Compiler\TypeMapMetadata.cs (1)
181public override MethodSignature Signature => new MethodSignature(MethodSignatureFlags.Static, 0, Context.GetWellKnownType(WellKnownType.Void), []);
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3792MethodSignatureFlags.Static,
parent\parent\Common\JitInterface\WasmLowering.cs (2)
30return new MethodSignature(MethodSignatureFlags.Static, 0, signature.Context.GetWellKnownType(WellKnownType.String), arguments); 539MethodSignatureFlags flags = hasThis ? MethodSignatureFlags.None : MethodSignatureFlags.Static;
parent\parent\Common\TypeSystem\IL\Stubs\AsyncResumptionStub.cs (1)
50return _signature = new MethodSignature(MethodSignatureFlags.Static, 0, objectType, [objectType, byrefByte]);
parent\parent\Common\TypeSystem\IL\Stubs\AsyncThunks.cs (4)
163MethodSignatureFlags.Static, 176MethodSignatureFlags.Static, 198MethodSignatureFlags.Static, 211MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\IL\Stubs\InterlockedIntrinsics.cs (1)
61MethodSignatureFlags.Static,
parent\parent\Common\TypeSystem\Interop\IL\Marshaller.cs (2)
2061new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetWellKnownType(WellKnownType.IntPtr), 2087new MethodSignature(MethodSignatureFlags.Static, 1, Context.GetSignatureVariable(0, method: true),
ILCompiler.RyuJit (5)
parent\ILCompiler.Compiler\Compiler\JitHelper.cs (2)
226new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t])); 233new MethodSignature(MethodSignatureFlags.Static, 0, t, [t, t]));
parent\parent\Common\JitInterface\CorInfoImpl.cs (3)
3721MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 0, context.GetWellKnownType(WellKnownType.Void), [parameterType]); 3731MethodSignature signature = new MethodSignature(MethodSignatureFlags.Static, 1, signatureVariable, [parameterType]); 3792MethodSignatureFlags.Static,
ILCompiler.TypeSystem (2)
parent\parent\Common\TypeSystem\Common\MethodDesc.cs (1)
136return (_flags & MethodSignatureFlags.Static) != 0;
parent\parent\Common\TypeSystem\Ecma\EcmaSignatureParser.cs (1)
420flags |= MethodSignatureFlags.Static;