3 implementations of CanParseAttributeType
Microsoft.Interop.JavaScript.JSImportGenerator (1)
JSMarshalAsAttributeInfoParser.cs (1)
21public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.IsGenericType && SymbolEqualityComparer.Default.Equals(_jsMarshalAsAttribute, attributeType.ConstructUnboundGenericType());
Microsoft.Interop.SourceGeneration (2)
MarshalAsParser.cs (1)
131public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.ToDisplayString() == TypeNames.System_Runtime_InteropServices_MarshalAsAttribute;
MarshalUsingAttributeParser.cs (1)
26public bool CanParseAttributeType(INamedTypeSymbol attributeType) => attributeType.ToDisplayString() == TypeNames.MarshalUsingAttribute;
1 reference to CanParseAttributeType
Microsoft.Interop.SourceGeneration (1)
UseSiteAttributeProvider.cs (1)
64if (attribute.AttributeConstructor is not null && parser.CanParseAttributeType(attribute.AttributeClass))