5 writes to ContainingType
Microsoft.CodeAnalysis.Features (5)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateConversionService.State.cs (2)
67
ContainingType
= document.SemanticModel.GetEnclosingNamedType(node.SpanStart, cancellationToken);
91
ContainingType
= document.SemanticModel.GetEnclosingNamedType(node.SpanStart, cancellationToken);
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.State.cs (1)
59
ContainingType
= semanticModel.GetEnclosingNamedType(targetVariables.SpanStart, cancellationToken);
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (2)
104
ContainingType
= semanticModel.GetEnclosingNamedType(methodDeclaration.SpanStart, cancellationToken);
153
ContainingType
= semanticModel.GetEnclosingNamedType(SimpleNameOpt.SpanStart, cancellationToken);
7 references to ContainingType
Microsoft.CodeAnalysis.Features (7)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateConversionService.State.cs (2)
68
if (
ContainingType
== null)
92
if (
ContainingType
== null)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateDeconstructMethodService.State.cs (1)
60
if (
ContainingType
== null)
src\Analyzers\Core\CodeFixes\GenerateParameterizedMember\AbstractGenerateMethodService.State.cs (4)
105
if (
ContainingType
== null)
110
if (!
ContainingType
.Interfaces.Contains(TypeToGenerateIn))
154
if (
ContainingType
== null)
217
semanticDocument,
ContainingType
, SimpleNameOrMemberAccessExpression, cancellationToken,