13 implementations of ContainingAssembly
Analyzer.Utilities.UnitTests (1)
GenerateDocumentationAndConfigFiles (1)
Microsoft.CodeAnalysis.Analyzers (1)
Microsoft.CodeAnalysis.BannedApiAnalyzers (1)
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
Roslyn.Diagnostics.Analyzers (1)
Text.Analyzers (1)
679 references to ContainingAssembly
Aspire.Hosting.Analyzers (1)
GenerateDocumentationAndConfigFiles (36)
Metrics (26)
Metrics.Legacy (26)
Microsoft.Analyzers.Local (4)
Microsoft.AspNetCore.App.Analyzers (2)
Microsoft.AspNetCore.Components.Analyzers (2)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.Http.RequestDelegateGenerator (3)
Microsoft.AspNetCore.Mvc.Api.Analyzers (3)
Microsoft.AspNetCore.OpenApi.SourceGenerators (3)
Microsoft.CodeAnalysis (4)
Microsoft.CodeAnalysis.Analyzers (46)
Microsoft.CodeAnalysis.AnalyzerUtilities (26)
Microsoft.CodeAnalysis.BannedApiAnalyzers (40)
Microsoft.CodeAnalysis.CodeStyle (25)
Microsoft.CodeAnalysis.CodeStyle.Fixes (19)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (20)
Emit\InAttributeModifierTests.cs (13)
4173Assert.Equal("testRef", parentModifier.ContainingAssembly.Name);
4197Assert.Equal("testRef", childModifier.ContainingAssembly.Name);
4220Assert.Equal("testRef", parentModifier.ContainingAssembly.Name);
4244Assert.Equal("testRef", childModifier.ContainingAssembly.Name);
4267Assert.Equal("testRef", parentModifier.ContainingAssembly.Name);
4293Assert.Equal("testRef", explicitModifier.ContainingAssembly.Name);
4316Assert.Equal("testRef", parentModifier.ContainingAssembly.Name);
4342Assert.Equal(module.ContainingAssembly.Name, implicitModifier.ContainingAssembly.Name);
4345Assert.Equal("testRef", explicitModifier.ContainingAssembly.Name);
4368Assert.Equal("testRef", parentModifier.ContainingAssembly.Name);
4395Assert.Equal(module.ContainingAssembly.Name, implicitModifier.ContainingAssembly.Name);
4398Assert.Equal("testRef", explicitModifier.ContainingAssembly.Name);
4428var assembly = ((Symbols.PublicModel.NonSourceAssemblySymbol)attribute.ContainingAssembly).UnderlyingAssemblySymbol;
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (3)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (27)
Compilation\CompilationAPITests.cs (12)
3477Assert.Same(comp.Assembly.GetPublicSymbol(), types[0].ContainingAssembly);
3481Assert.Same(types[1].ContainingAssembly, assembly1);
3507Assert.Same(types[0].ContainingAssembly, assembly1);
3537Assert.Same(types[0].ContainingAssembly, assembly1);
3540Assert.Same(types[1].ContainingAssembly, assembly2);
3572Assert.Same(comp.Assembly.GetPublicSymbol(), types[0].ContainingAssembly);
3577Assert.Same(types[1].ContainingAssembly, assembly1);
3580Assert.Same(types[2].ContainingAssembly, assembly2);
3614Assert.Same(types[0].ContainingAssembly, current.Assembly.GetPublicSymbol());
3617Assert.Same(types[1].ContainingAssembly, corlibAssembly);
3620Assert.Same(types[2].ContainingAssembly, otherAssembly);
3647Assert.Same(type.ContainingAssembly, corlibAssembly);
Microsoft.CodeAnalysis.EditorFeatures (1)
Microsoft.CodeAnalysis.Extensions.Package (19)
Microsoft.CodeAnalysis.Features (30)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (36)
Microsoft.CodeAnalysis.PublicApiAnalyzers (29)
Microsoft.CodeAnalysis.ResxSourceGenerator (26)
Microsoft.CodeAnalysis.Test.Utilities (3)
Microsoft.CodeAnalysis.UnitTests (12)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (6)
Microsoft.CodeAnalysis.VisualBasic.Features (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (5)
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (3)
Microsoft.CodeAnalysis.Workspaces (46)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Extensions.Validation.ValidationsGenerator (4)
Microsoft.Interop.ComInterfaceGenerator (4)
Microsoft.Interop.LibraryImportGenerator (5)
Microsoft.Interop.SourceGeneration (5)
Microsoft.Maui.Controls.SourceGen (3)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (7)
Roslyn.Diagnostics.Analyzers (36)
System.Text.Json.SourceGeneration (1)
Test.Utilities (26)
Text.Analyzers (36)