11 references to OwningSymbol
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Semantics\PrimaryConstructorTests.cs (2)
4968switch (context.OwningSymbol.ToTestDisplayString()) 5935switch (context.OwningSymbol.ToTestDisplayString())
Semantics\RecordTests.cs (1)
27476switch (context.OwningSymbol.ToTestDisplayString())
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (2)
Semantics\RecordStructTests.cs (1)
6661switch (context.OwningSymbol.ToTestDisplayString())
Semantics\TopLevelStatementsTests.cs (1)
6984Assert.Equal("<top-level-statements-entry-point>", context.OwningSymbol.ToTestDisplayString());
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Diagnostics\DiagnosticServiceTests.vb (1)
2533AnalyzedCodeBlockStartSymbols.Add(codeBlockStartContext.OwningSymbol)
Microsoft.CodeAnalysis.Test.Utilities (4)
Diagnostics\CommonDiagnosticAnalyzers.cs (3)
1606if (context.OwningSymbol.Kind != SymbolKind.Method) 1611sortedCallbackCodeBlockStartNames.Add($"{context.OwningSymbol.ContainingType.Name}(IsGeneratedCode:{context.IsGeneratedCode})"); 3051AnalyzedCodeBlockStartSymbols.Add(codeBlockStartContext.OwningSymbol);
Diagnostics\TestDiagnosticAnalyzer.cs (1)
115_container.OnAbstractMember("CodeBlockStart", context.CodeBlock, context.OwningSymbol);
Microsoft.CodeAnalysis.UnitTests (1)
Diagnostics\AnalysisContextInfoTests.cs (1)
73c.RegisterCodeBlockStartAction<SyntaxKind>(b => ThrowIfMatch(nameof(c.RegisterCodeBlockStartAction), new AnalysisContextInfo(b.SemanticModel.Compilation, b.OwningSymbol, b.CodeBlock)));