Linker.Steps\MarkStep.cs (23)
598foreach (var method in type.Methods)
1151foreach (var m in type.Methods)
1268if (MarkMethodIf(type.Methods, IsNonEmptyStaticConstructor, reason, origin) != null)
1419MethodDefinition? method = type.Methods.FirstOrDefault(m => m.Name == methodname && !m.HasMetadataParameters());
2002MarkMethodsIf(type.Methods, IsSpecialSerializationConstructor, new DependencyInfo(DependencyKind.SerializationMethodForType, type), origin);
2005MarkMethodsIf(type.Methods, HasOnSerializeOrDeserializeAttribute, new DependencyInfo(DependencyKind.SerializationMethodForType, type), origin);
2058foreach (MethodDefinition method in type.Methods)
2227MarkMethodIf(type.Methods, static m => m.Name == "Finalize", new DependencyInfo(DependencyKind.MethodForSpecialType, type), typeOrigin);
2282foreach (var method in type.Methods)
2387if (MarkMethodsIf(type.Methods, MethodDefinitionExtensions.IsPublicInstancePropertyMethod, new DependencyInfo(DependencyKind.ReferencedBySpecialAttribute, type), origin))
2561foreach (MethodDefinition method in type.Methods)
2803return MarkMethodIf(type.Methods, MethodDefinitionExtensions.IsDefaultConstructor, reason, origin) != null;
2811MarkMethodIf(type.Methods,
2845MarkMethodsIf(tdef.Methods, m => !m.IsStatic, reason, origin);
2921MarkMethodsIf(type.Methods, m => m.Name == ".ctor" || m.Name == "Invoke", new DependencyInfo(DependencyKind.MethodForSpecialType, type), origin);
3031foreach (var m in type.Methods)
3166MarkMethodCollection(type.Methods, reason, origin);
3493MarkMethodIf(declaringType.Methods, m => m.Name == methodPair, new DependencyInfo(DependencyKind.MethodForSpecialType, declaringType), methodOrigin);
3559foreach (var method in type.Methods)
3625var nseCtor = MarkMethodIf(nse.Methods, KnownMembers.IsNotSupportedExceptionCtorString, reason, origin);
3635var objectCtor = MarkMethodIf(objectType.Methods, MethodDefinitionExtensions.IsDefaultConstructor, reason, origin);
3652var ctor = MarkMethodIf(disablePrivateReflection.Methods, MethodDefinitionExtensions.IsDefaultConstructor, new DependencyInfo(DependencyKind.DisablePrivateReflectionRequirement, disablePrivateReflection), emptyOrigin);
4151foreach (var method in stateMachineType.Methods)