6 implementations of ContainingAssembly
Microsoft.CodeAnalysis.CodeStyle.Fixes (1)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.Features (1)
Microsoft.CodeAnalysis.VisualBasic (1)
Microsoft.CodeAnalysis.Workspaces (1)
265 references to ContainingAssembly
Aspire.Hosting.Analyzers (1)
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.CodeAnalysis (4)
Microsoft.CodeAnalysis.CodeStyle (25)
Microsoft.CodeAnalysis.CodeStyle.Fixes (10)
Microsoft.CodeAnalysis.CSharp (1)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (7)
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (23)
Semantics\ExperimentalAttributeTests.cs (20)
88Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
107Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
149Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
173Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
216Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
254Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
283Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
320Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
407Assert.Equal(ObsoleteAttributeKind.None, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
431Assert.Equal(ObsoleteAttributeKind.None, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
474Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
501Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
563Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("C").ContainingAssembly.ObsoleteKind);
566Assert.Equal(ObsoleteAttributeKind.Experimental, comp.GetTypeByMetadataName("D").ContainingAssembly.ObsoleteKind);
595Assert.Equal(ObsoleteAttributeKind.Experimental, c.ContainingAssembly.ObsoleteKind);
636Assert.Equal(ObsoleteAttributeKind.Experimental, c.ContainingAssembly.ObsoleteKind);
950Assert.IsType<RetargetingAssemblySymbol>(derived.ContainingAssembly);
951Assert.Equal(ObsoleteAttributeKind.Experimental, derived.ContainingAssembly.ObsoleteKind);
978Assert.IsType<RetargetingAssemblySymbol>(derived.ContainingAssembly);
979Assert.Equal(ObsoleteAttributeKind.None, derived.ContainingAssembly.ObsoleteKind);
Microsoft.CodeAnalysis.CSharp.Features (5)
Microsoft.CodeAnalysis.CSharp.Semantic.UnitTests (4)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (33)
Compilation\CompilationAPITests.cs (14)
1734Assert.Same(compilation.ObjectType.ContainingAssembly, taskOfT.ContainingAssembly);
1735Assert.Same(compilation.ObjectType.ContainingAssembly, taskOfObject.ContainingAssembly);
3478Assert.Same(comp.Assembly.GetPublicSymbol(), types[0].ContainingAssembly);
3482Assert.Same(types[1].ContainingAssembly, assembly1);
3508Assert.Same(types[0].ContainingAssembly, assembly1);
3538Assert.Same(types[0].ContainingAssembly, assembly1);
3541Assert.Same(types[1].ContainingAssembly, assembly2);
3573Assert.Same(comp.Assembly.GetPublicSymbol(), types[0].ContainingAssembly);
3578Assert.Same(types[1].ContainingAssembly, assembly1);
3581Assert.Same(types[2].ContainingAssembly, assembly2);
3615Assert.Same(types[0].ContainingAssembly, current.Assembly.GetPublicSymbol());
3618Assert.Same(types[1].ContainingAssembly, corlibAssembly);
3621Assert.Same(types[2].ContainingAssembly, otherAssembly);
3648Assert.Same(type.ContainingAssembly, corlibAssembly);
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
Microsoft.CodeAnalysis.Features (25)
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 (42)
Microsoft.CodeAnalysis.Workspaces.UnitTests (2)
Microsoft.Extensions.Options.SourceGeneration (1)
Microsoft.Interop.ComInterfaceGenerator (4)
Microsoft.Interop.LibraryImportGenerator (5)
Microsoft.Interop.SourceGeneration (5)
Microsoft.Maui.Controls.SourceGen (3)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (11)
System.Text.Json.SourceGeneration (1)