1 implementation of IPropertySubpatternOperation
Microsoft.CodeAnalysis (1)
Generated\Operations.Generated.cs (1)
9459
internal sealed partial class PropertySubpatternOperation : Operation,
IPropertySubpatternOperation
23 references to IPropertySubpatternOperation
ILLink.RoslynAnalyzer (1)
IOperationExtensions.cs (1)
91
case
IPropertySubpatternOperation
:
Microsoft.CodeAnalysis (9)
Generated\OperationKind.Generated.cs (1)
244
/// <summary>Indicates an <see cref="
IPropertySubpatternOperation
"/>.</summary>
Generated\Operations.Generated.cs (6)
3235
ImmutableArray<
IPropertySubpatternOperation
> PropertySubpatterns { get; }
9227
internal RecursivePatternOperation(ITypeSymbol matchedType, ISymbol? deconstructSymbol, ImmutableArray<IPatternOperation> deconstructionSubpatterns, ImmutableArray<
IPropertySubpatternOperation
> propertySubpatterns, ISymbol? declaredSymbol, ITypeSymbol inputType, ITypeSymbol narrowedType, SemanticModel? semanticModel, SyntaxNode syntax, bool isImplicit)
9239
public ImmutableArray<
IPropertySubpatternOperation
> PropertySubpatterns { get; }
11281
public override IOperation VisitPropertySubpattern(
IPropertySubpatternOperation
operation, object? argument)
11523
public virtual void VisitPropertySubpattern(
IPropertySubpatternOperation
operation) => DefaultVisit(operation);
11662
public virtual TResult? VisitPropertySubpattern(
IPropertySubpatternOperation
operation, TArgument argument) => DefaultVisit(operation, argument);
Operations\ControlFlowGraphBuilder.cs (2)
7674
operation.PropertySubpatterns.SelectAsArray((p, @this) => (
IPropertySubpatternOperation
)@this.VisitRequired(p), this),
7683
public override IOperation VisitPropertySubpattern(
IPropertySubpatternOperation
operation, int? argument)
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
108
case
IPropertySubpatternOperation
:
Microsoft.CodeAnalysis.CSharp (6)
Operations\CSharpOperationFactory.cs (6)
2559
ImmutableArray<
IPropertySubpatternOperation
> propertySubpatterns = boundRecursivePattern.Properties is { IsDefault: false } properties
2561
: ImmutableArray<
IPropertySubpatternOperation
>.Empty;
2585
propertySubpatterns: ImmutableArray<
IPropertySubpatternOperation
>.Empty,
2852
internal
IPropertySubpatternOperation
CreatePropertySubpattern(BoundPropertySubpattern subpattern, ITypeSymbol matchedType)
2871
IPropertySubpatternOperation
? result = createPropertySubpattern(member.Symbol, pattern, inputType, nameSyntax, isSingle: member.Receiver is null);
2892
IPropertySubpatternOperation
createPropertySubpattern(Symbol? symbol, IPatternOperation pattern, ITypeSymbol receiverType, SyntaxNode nameSyntax, bool isSingle)
Microsoft.CodeAnalysis.Test.Utilities (5)
Compilation\OperationTreeVerifier.cs (2)
2043
public override void VisitPropertySubpattern(
IPropertySubpatternOperation
operation)
2045
LogString(nameof(
IPropertySubpatternOperation
));
Compilation\TestOperationVisitor.cs (3)
1510
foreach (
var
subpat in operation.PropertySubpatterns)
1512
Assert.True(subpat is
IPropertySubpatternOperation
);
1521
public override void VisitPropertySubpattern(
IPropertySubpatternOperation
operation)
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Extensions\OperationExtensions.cs (1)
108
case
IPropertySubpatternOperation
: