1 write to IsAttribute
Microsoft.CodeAnalysis.Features (1)
GenerateType\AbstractGenerateTypeService.State.cs (1)
175
IsAttribute
= BaseTypeOrInterfaceOpt != null && BaseTypeOrInterfaceOpt.Equals(semanticModel.Compilation.AttributeType());
5 references to IsAttribute
Microsoft.CodeAnalysis.Features (5)
GenerateType\AbstractGenerateTypeService.CodeAction.cs (2)
110
new GenerateTypeDialogOptions(isPublicOnlyAccessibility, typeKindValue, _state.
IsAttribute
),
137
if (state.
IsAttribute
)
GenerateType\AbstractGenerateTypeService.cs (1)
180
return state.
IsAttribute
&& !state.NameIsVerbatim && !state.Name.EndsWith(AttributeSuffix, StringComparison.Ordinal)
GenerateType\AbstractGenerateTypeService.State.cs (2)
188
if (
IsAttribute
&& TypeToGenerateInOpt.GetAllTypeParameters().Any())
271
if (!
IsAttribute
&&