1 write to ClassType
Microsoft.CodeAnalysis.Features (1)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (1)
53
ClassType
= classType;
10 references to ClassType
Microsoft.CodeAnalysis.Features (10)
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.cs (2)
49
Contract.ThrowIfNull(state.
ClassType
);
54
state.
ClassType
.Name,
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\AbstractGenerateDefaultConstructorsService.State.cs (5)
55
var baseType =
ClassType
.BaseType;
56
if (
ClassType
.IsStatic ||
77
var classConstructors =
ClassType
.InstanceConstructors;
79
var destinationProvider = semanticDocument.Project.Solution.Services.GetLanguageServices(
ClassType
.Language);
84
.WhereAsArray(c => c.IsAccessibleWithin(
ClassType
) && IsMissing(c, classConstructors, isCaseSensitive));
src\Analyzers\Core\CodeFixes\GenerateDefaultConstructors\GenerateDefaultConstructorsCodeAction.cs (3)
39
Contract.ThrowIfNull(_state.
ClassType
);
44
_state.
ClassType
,
59
var classType = _state.
ClassType
;