1 implementation of ITryResolveMetadata
illink (1)
Linker\LinkContext.cs (1)
62
public class LinkContext : IMetadataResolver,
ITryResolveMetadata
, ITryResolveAssemblyName, IDisposable
53 references to ITryResolveMetadata
illink (53)
Linker.Dataflow\FieldValue.cs (1)
19
public FieldValue (FieldReference fieldToLoad, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes,
ITryResolveMetadata
resolver)
Linker.Dataflow\MethodParameterValue.cs (1)
17
public MethodParameterValue (TypeReference? staticType, ParameterProxy param, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes,
ITryResolveMetadata
resolver)
Linker.Dataflow\MethodProxy.cs (1)
14
public static bool TryCreate (MethodReference method,
ITryResolveMetadata
resolver, [NotNullWhen (true)] out MethodProxy? methodProxy)
Linker.Dataflow\MethodReturnValue.cs (2)
22
public static MethodReturnValue Create (MethodProxy method, bool isNewObj, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes,
ITryResolveMetadata
resolver)
30
private MethodReturnValue (TypeReference? staticType, MethodDefinition method, DynamicallyAccessedMemberTypes dynamicallyAccessedMemberTypes,
ITryResolveMetadata
resolver)
Linker.Dataflow\RequireDynamicallyAccessedMembersAction.cs (2)
14
readonly
ITryResolveMetadata
_resolver;
18
ITryResolveMetadata
resolver,
Linker.Dataflow\TypeProxy.cs (2)
13
public TypeProxy (TypeReference type,
ITryResolveMetadata
resolver)
32
private readonly
ITryResolveMetadata
resolver;
Linker\DocumentationSignatureGenerator.cs (6)
27
public static void VisitMember (IMemberDefinition member, StringBuilder builder,
ITryResolveMetadata
resolver)
50
private static void VisitMethod (MethodDefinition method, StringBuilder builder,
ITryResolveMetadata
resolver)
56
private static void VisitField (FieldDefinition field, StringBuilder builder,
ITryResolveMetadata
resolver)
62
private static void VisitEvent (EventDefinition evt, StringBuilder builder,
ITryResolveMetadata
resolver)
68
private static void VisitProperty (PropertyDefinition property, StringBuilder builder,
ITryResolveMetadata
resolver)
74
private static void VisitTypeDefinition (TypeDefinition type, StringBuilder builder,
ITryResolveMetadata
resolver)
Linker\DocumentationSignatureGenerator.PartVisitor.cs (9)
28
public void VisitArrayType (ArrayType arrayType, StringBuilder builder,
ITryResolveMetadata
resolver)
50
public void VisitField (FieldDefinition field, StringBuilder builder,
ITryResolveMetadata
resolver)
56
private void VisitParameters (IEnumerable<ParameterDefinition> parameters, bool isVararg, StringBuilder builder,
ITryResolveMetadata
resolver)
79
public void VisitMethodDefinition (MethodDefinition method, StringBuilder builder,
ITryResolveMetadata
resolver)
98
public void VisitProperty (PropertyDefinition property, StringBuilder builder,
ITryResolveMetadata
resolver)
107
public void VisitEvent (EventDefinition evt, StringBuilder builder,
ITryResolveMetadata
resolver)
132
public void VisitTypeReference (TypeReference typeReference, StringBuilder builder,
ITryResolveMetadata
resolver)
193
public void VisitPointerType (PointerType pointerType, StringBuilder builder,
ITryResolveMetadata
resolver)
199
public void VisitByReferenceType (ByReferenceType byReferenceType, StringBuilder builder,
ITryResolveMetadata
resolver)
Linker\DocumentationSignatureParser.cs (12)
40
public static IEnumerable<IMemberDefinition> GetMembersForDocumentationSignature (string id, ModuleDefinition module,
ITryResolveMetadata
resolver)
52
public static TypeDefinition? GetTypeByDocumentationSignature (AssemblyDefinition assembly, string signature,
ITryResolveMetadata
resolver)
62
public static IEnumerable<IMemberDefinition> GetMembersByDocumentationSignature (TypeDefinition type, string signature,
ITryResolveMetadata
resolver, bool acceptName = false)
72
static string GetSignaturePart (TypeReference type,
ITryResolveMetadata
resolver)
79
static bool ParseDocumentationSignature (string id, ModuleDefinition module, List<IMemberDefinition> results,
ITryResolveMetadata
resolver)
93
static void ParseSignature (string id, ref int index, ModuleDefinition module, List<IMemberDefinition> results,
ITryResolveMetadata
resolver)
133
public static void ParseSignaturePart (string id, ref int index, ModuleDefinition module, MemberType memberTypes, List<IMemberDefinition> results,
ITryResolveMetadata
resolver)
192
public static void GetMatchingMembers (string id, ref int index, ModuleDefinition module, TypeDefinition? containingType, string memberName, int arity, MemberType memberTypes, List<IMemberDefinition> results,
ITryResolveMetadata
resolver, bool acceptName = false)
492
static void GetMatchingTypes (ModuleDefinition module, TypeDefinition? declaringType, string name, int arity, List<IMemberDefinition> results,
ITryResolveMetadata
resolver)
524
static void GetMatchingMethods (string id, ref int index, TypeDefinition? type, string memberName, int arity, List<IMemberDefinition> results,
ITryResolveMetadata
resolver, bool acceptName = false)
579
static void GetMatchingProperties (string id, ref int index, TypeDefinition? type, string memberName, List<IMemberDefinition> results,
ITryResolveMetadata
resolver, bool acceptName = false)
637
static bool AllParametersMatch (Collection<ParameterDefinition> methodParameters, List<string> expectedParameters,
ITryResolveMetadata
resolver)
Linker\MethodReferenceComparer.cs (4)
21
public readonly
ITryResolveMetadata
_resolver;
23
public MethodReferenceComparer(
ITryResolveMetadata
resolver)
38
public static bool AreEqual (MethodReference? x, MethodReference? y,
ITryResolveMetadata
resolver)
130
public static bool AreSignaturesEqual (MethodReference x, MethodReference y,
ITryResolveMetadata
resolver, TypeComparisonMode comparisonMode = TypeComparisonMode.Exact)
Linker\ModuleDefinitionExtensions.cs (2)
19
public static bool GetMatchingExportedType (this ModuleDefinition module, TypeDefinition typeDefinition,
ITryResolveMetadata
context, [NotNullWhen (true)] out ExportedType? exportedType)
35
public static TypeDefinition? ResolveType (this ModuleDefinition module, string typeFullName,
ITryResolveMetadata
resolver)
Linker\TypeNameResolver.cs (2)
20
readonly
ITryResolveMetadata
_metadataResolver;
27
public TypeNameResolver (
ITryResolveMetadata
metadataResolver, ITryResolveAssemblyName assemblyNameResolver)
Linker\TypeReferenceEqualityComparer.cs (5)
14
public readonly
ITryResolveMetadata
_resolver;
16
public TypeReferenceEqualityComparer(
ITryResolveMetadata
resolver)
31
public static bool AreEqual (TypeReference? a, TypeReference? b,
ITryResolveMetadata
resolver, TypeComparisonMode comparisonMode = TypeComparisonMode.Exact)
145
static bool AreEqual (GenericParameter a, GenericParameter b,
ITryResolveMetadata
resolver, TypeComparisonMode comparisonMode = TypeComparisonMode.Exact)
167
static bool AreEqual (GenericInstanceType a, GenericInstanceType b,
ITryResolveMetadata
resolver, TypeComparisonMode comparisonMode = TypeComparisonMode.Exact)
Linker\TypeReferenceExtensions.cs (4)
119
public static TypeReference? GetInflatedDeclaringType (this TypeReference type,
ITryResolveMetadata
resolver)
161
public static IEnumerable<(TypeReference InflatedInterface, InterfaceImplementation OriginalImpl)> GetInflatedInterfaces (this TypeReference typeRef,
ITryResolveMetadata
resolver)
282
public static IEnumerable<MethodReference> GetMethods (this TypeReference type,
ITryResolveMetadata
resolver)
394
public static bool IsSubclassOf (this TypeReference type, string ns, string name,
ITryResolveMetadata
resolver)