2 instantiations of TypeAnnotations
ILCompiler.Compiler (2)
Compiler\Dataflow\FlowAnnotations.cs (2)
343
return new
TypeAnnotations
(key, DynamicallyAccessedMemberTypes.None, null, null, null);
647
return new
TypeAnnotations
(ecmaType, typeAnnotation, annotatedMethods.ToArray(), annotatedFields.ToArray(), typeGenericParameterAnnotations);
9 references to TypeAnnotations
ILCompiler.Compiler (9)
Compiler\Dataflow\FlowAnnotations.cs (9)
57
TypeAnnotations
typeAnnotations = GetAnnotations(method.OwningType);
89
TypeAnnotations
typeAnnotations = GetAnnotations(field.OwningType);
294
private
TypeAnnotations
GetAnnotations(TypeDesc type)
299
private sealed class TypeAnnotationsHashtable : LockFreeReaderHashtable<TypeDesc,
TypeAnnotations
>
328
protected override bool CompareKeyToValue(TypeDesc key,
TypeAnnotations
value) => key == value.Type;
329
protected override bool CompareValueToValue(
TypeAnnotations
value1,
TypeAnnotations
value2) => value1.Type == value2.Type;
331
protected override int GetValueHashCode(
TypeAnnotations
value) => value.Type.GetHashCode();
333
protected override
TypeAnnotations
CreateValueFromKey(TypeDesc key)