23 references to KnownType
Microsoft.NET.HostModel (23)
ComHost\ClsidMap.cs (23)
147CustomAttributeValue<KnownType> data = comVisibleAttribute.DecodeValue(new TypeResolver()); 163CustomAttributeValue<KnownType> data = comVisibleAttribute.DecodeValue(new TypeResolver()); 197CustomAttributeValue<KnownType> data = attribute.DecodeValue(new TypeResolver()); 211CustomAttributeValue<KnownType> data = attribute.DecodeValue(new TypeResolver()); 254private sealed class TypeResolver : ICustomAttributeTypeProvider<KnownType> 256public KnownType GetPrimitiveType(PrimitiveTypeCode typeCode) 261return KnownType.Bool; 263return KnownType.String; 265return KnownType.Unknown; 269public KnownType GetSystemType() 271return KnownType.SystemType; 274public KnownType GetSZArrayType(KnownType elementType) 276return KnownType.Unknown; 279public KnownType GetTypeFromDefinition(MetadataReader reader, TypeDefinitionHandle handle, byte rawTypeKind) 281return KnownType.Unknown; 284public KnownType GetTypeFromReference(MetadataReader reader, TypeReferenceHandle handle, byte rawTypeKind) 286return KnownType.Unknown; 289public KnownType GetTypeFromSerializedName(string name) 291return KnownType.Unknown; 294public PrimitiveTypeCode GetUnderlyingEnumType(KnownType type) 299public bool IsSystemType(KnownType type) 301return type == KnownType.SystemType;