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