2 instantiations of TypeRef
ConfigurationSchemaGenerator (2)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (1)
170return new TypeRef(memberTypeSymbol);
RuntimeSource\Configuration.Binder\Specs\Types\TypeSpec.cs (1)
15TypeRef = new TypeRef(type);
25 references to TypeRef
ConfigurationSchemaGenerator (25)
RuntimeSource\Configuration.Binder\ConfigurationBindingGenerator.Parser.cs (7)
159private TypeRef EnqueueTransitiveType(TypeParseInfo containingTypeParseInfo, ITypeSymbol memberTypeSymbol, DiagnosticDescriptor diagDescriptor, string? memberName = null) 180TypeRef underlyingTypeRef = EnqueueTransitiveType( 351TypeRef elementTypeRef = EnqueueTransitiveType( 430TypeRef keyTypeRef = EnqueueTransitiveType(typeParseInfo, keyTypeSymbol, DiagnosticDescriptors.DictionaryKeyNotSupported); 431TypeRef elementTypeRef = EnqueueTransitiveType(typeParseInfo, elementTypeSymbol, DiagnosticDescriptors.ElementTypeNotSupported); 514TypeRef elementTypeRef = EnqueueTransitiveType(typeParseInfo, elementType, DiagnosticDescriptors.ElementTypeNotSupported); 672TypeRef propertyTypeRef = EnqueueTransitiveType(typeParseInfo, property.Type, DiagnosticDescriptors.PropertyNotSupported, propertyName);
RuntimeSource\Configuration.Binder\Specs\BindingHelperInfo.cs (2)
27private readonly Dictionary<TypeRef, bool> _seenTransitiveTypes = new(); 113public bool TryRegisterTransitiveTypesForMethodGen(TypeRef typeRef)
RuntimeSource\Configuration.Binder\Specs\Members\MemberSpec.cs (2)
12public MemberSpec(ISymbol member, TypeRef typeRef) 23public TypeRef TypeRef { get; }
RuntimeSource\Configuration.Binder\Specs\Members\ParameterSpec.cs (1)
14public ParameterSpec(IParameterSymbol parameter, TypeRef typeRef) : base(parameter, typeRef)
RuntimeSource\Configuration.Binder\Specs\Members\PropertySpec.cs (1)
11public PropertySpec(IPropertySymbol property, TypeRef typeRef) : base(property, typeRef)
RuntimeSource\Configuration.Binder\Specs\TypeIndex.cs (5)
14private readonly Dictionary<TypeRef, TypeSpec> _index = typeSpecs.ToDictionary(spec => spec.TypeRef); 16public bool CanBindTo(TypeRef typeRef) => GetEffectiveTypeSpec(typeRef) switch 56public TypeSpec GetEffectiveTypeSpec(TypeRef typeRef) 64TypeRef effectiveRef = typeSpec.EffectiveTypeRef; 69public TypeSpec GetTypeSpec(TypeRef typeRef) => _index[typeRef];
RuntimeSource\Configuration.Binder\Specs\Types\TypeSpec.cs (3)
22public TypeRef TypeRef { get; } 24public TypeRef EffectiveTypeRef { get; protected init; } 48public NullableSpec(ITypeSymbol type, TypeRef underlyingTypeRef) : base(type) =>
RuntimeSource\SourceGenerators\CSharpSyntaxUtilities.cs (1)
18public static string FormatLiteral(object? value, TypeRef type)
RuntimeSource\SourceGenerators\TypeRef.cs (3)
14public sealed class TypeRef : IEquatable<TypeRef> 38public bool Equals(TypeRef? other) => other != null && FullyQualifiedName == other.FullyQualifiedName; 39public override bool Equals(object? obj) => Equals(obj as TypeRef);