internal override string GetValueToDisplay() { return(_paramSymbol.ToDisplayString()); }
private static KeyValuePair <string, string> CreateTypeConstraint(ITypeParameterSymbol typeParameter) { return(new KeyValuePair <string, string>(typeParameter.Name, typeParameter.ToDisplayString())); }
public static Diagnostic CreateGA0003(AttributeArgumentSyntax attributeArgumentSyntaxNode, ITypeParameterSymbol typeParameter, INamedTypeSymbol genericTypeArgument) { return(Diagnostic.Create(Instance[0003], attributeArgumentSyntaxNode?.GetLocation(), typeParameter.ToDisplayString(), genericTypeArgument.ToDisplayString())); }
public static Diagnostic CreateGA0013(AttributeSyntax attributeSyntaxNode, ITypeParameterSymbol typeParameter) { return(Diagnostic.Create(Instance[0013], attributeSyntaxNode?.GetLocation(), typeParameter.ToDisplayString())); }
public static Diagnostic CreateGA0002(AttributeArgumentSyntax attributeArgumentSyntaxNode, ITypeParameterSymbol typeParameter, ITypeSymbol argumentType) { return(Diagnostic.Create(Instance[0002], attributeArgumentSyntaxNode?.GetLocation(), typeParameter.ToDisplayString(), argumentType.ToDisplayString())); }