2 implementations of Parent
Microsoft.CodeAnalysis (1)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
352 references to Parent
ILLink.RoslynAnalyzer (29)
Microsoft.Analyzers.Extra (7)
Microsoft.AspNetCore.App.Analyzers (11)
Microsoft.AspNetCore.Mvc.Analyzers (2)
Microsoft.AspNetCore.Mvc.Api.Analyzers (5)
Microsoft.CodeAnalysis (30)
Microsoft.CodeAnalysis.CodeStyle (64)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.CodeStyle (22)
Microsoft.CodeAnalysis.CSharp.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (40)
Semantics\OutVarTests.cs (22)
3516Assert.Null(initializerOperation.Parent.Parent.Parent);
3517VerifyOperationTree(compilation, initializerOperation.Parent.Parent, @"
35999Assert.Equal(OperationKind.ExpressionStatement, initializerOperation.Parent.Kind);
36022Assert.Equal(OperationKind.ConstructorBody, blockBodyOperation.Parent.Kind);
36023Assert.Same(initializerOperation.Parent.Parent, blockBodyOperation.Parent);
36024Assert.Null(blockBodyOperation.Parent.Parent);
36047Assert.Same(blockBodyOperation.Parent, model.GetOperation(expressionBodySyntax).Parent);
36051Assert.Same(blockBodyOperation.Parent, model.GetOperation(declarationSyntax));
36143Assert.Equal(OperationKind.MethodBody, expressionBodyOperation.Parent.Kind);
36144Assert.Null(expressionBodyOperation.Parent.Parent);
36168Assert.Same(expressionBodyOperation.Parent, blockBodyOperation.Parent);
36176Assert.Same(expressionBodyOperation.Parent, model.GetOperation(declarationSyntax));
36250Assert.Null(model.GetOperation(node3).Parent);
Microsoft.CodeAnalysis.CSharp.EndToEnd.UnitTests (2)
Microsoft.CodeAnalysis.CSharp.Features (12)
Microsoft.CodeAnalysis.CSharp.Features.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.IOperation.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (8)
Microsoft.CodeAnalysis.CSharp.Test.Utilities (1)
Microsoft.CodeAnalysis.CSharp.Workspaces (11)
Microsoft.CodeAnalysis.Features (32)
Microsoft.CodeAnalysis.Test.Utilities (25)
Microsoft.CodeAnalysis.VisualBasic.CodeStyle (1)
Microsoft.CodeAnalysis.VisualBasic.Features (1)
Microsoft.CodeAnalysis.Workspaces (37)
System.Private.CoreLib.Generators (1)