559 references to Assembly
ConfigurationSchemaGenerator (4)
ConfigurationSchemaGenerator.Tests (1)
GenerateDocumentationAndConfigFiles (14)
ILLink.RoslynAnalyzer (3)
Metrics (18)
Metrics.Legacy (18)
Microsoft.AspNetCore.Analyzers (1)
Microsoft.AspNetCore.Analyzers.Test (1)
Microsoft.AspNetCore.Components.Analyzers (2)
Microsoft.AspNetCore.Components.SdkAnalyzers (2)
Microsoft.AspNetCore.OpenApi.SourceGenerators (2)
Microsoft.CodeAnalysis (12)
Microsoft.CodeAnalysis.Analyzers (19)
Microsoft.CodeAnalysis.AnalyzerUtilities (16)
Microsoft.CodeAnalysis.BannedApiAnalyzers (20)
Microsoft.CodeAnalysis.CodeStyle (8)
Microsoft.CodeAnalysis.CodeStyle.Fixes (5)
Microsoft.CodeAnalysis.CSharp (2)
Microsoft.CodeAnalysis.CSharp.CodeStyle (3)
Microsoft.CodeAnalysis.CSharp.EditorFeatures (1)
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (14)
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (5)
Microsoft.CodeAnalysis.CSharp.Features (3)
Microsoft.CodeAnalysis.CSharp.Scripting.UnitTests (1)
Microsoft.CodeAnalysis.CSharp.Symbol.UnitTests (3)
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (1)
Microsoft.CodeAnalysis.Extensions.Package (5)
Microsoft.CodeAnalysis.Features (31)
ConvertTupleToStruct\AbstractConvertTupleToStructCodeRefactoringProvider.cs (2)
813semanticModel.Compilation.Assembly, scope, isRecord, structName, typeParameters, members: default);
849semanticModel.Compilation.Assembly, scope, isRecord, structName, typeParameters, members.ToImmutable());
Microsoft.CodeAnalysis.Features.UnitTests (3)
Microsoft.CodeAnalysis.PerformanceSensitiveAnalyzers (17)
Microsoft.CodeAnalysis.PublicApiAnalyzers (18)
Microsoft.CodeAnalysis.ResxSourceGenerator (16)
Microsoft.CodeAnalysis.Test.Utilities (4)
Microsoft.CodeAnalysis.VisualBasic.EditorFeatures (3)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (99)
Attributes\AssemblyAttributes.vb (44)
39Assert.Equal(New Version(1, 2, 3, 4), other.Assembly.Identity.Version)
220Assert.Equal("1.2.3.4", DirectCast(other.Assembly, SourceAssemblySymbol).FileVersion)
237Assert.Equal("65535.65535.65535.65535", DirectCast(other.Assembly, SourceAssemblySymbol).FileVersion)
254Assert.Equal("1.2", DirectCast(other.Assembly, SourceAssemblySymbol).FileVersion)
313Assert.Equal("One Hundred Years Of Solitude", DirectCast(other.Assembly, SourceAssemblySymbol).Title)
314Assert.Equal(False, DirectCast(other.Assembly, SourceAssemblySymbol).MightContainNoPiaLocalTypes())
331Assert.Null(DirectCast(other.Assembly, SourceAssemblySymbol).Title)
348Assert.Equal("A classic of magical realist literature", DirectCast(other.Assembly, SourceAssemblySymbol).Description)
367Assert.Equal("pt-BR", other.Assembly.Identity.CultureName)
582dependencies:={New ModuleData(en_usRef.Compilation.Assembly.Identity,
615dependencies:={New ModuleData(en_UKRef.Compilation.Assembly.Identity,
619New ModuleData(neutralRef.Compilation.Assembly.Identity,
684Assert.Equal("MossBrain", DirectCast(other.Assembly, SourceAssemblySymbol).Company)
692Assert.Equal("微软", DirectCast(other.Assembly, SourceAssemblySymbol).Company)
710Assert.Equal("Sound Cannon", DirectCast(other.Assembly, SourceAssemblySymbol).Product)
726Assert.Equal("مايكروسوفت", DirectCast(other.Assembly, SourceAssemblySymbol).Copyright)
742Assert.Equal("circle r", DirectCast(other.Assembly, SourceAssemblySymbol).Trademark)
759Assert.Equal("1.2.3garbage", DirectCast(other.Assembly, SourceAssemblySymbol).InformationalVersion)
1308Dim attrs = consoleappCompilation.Assembly.GetAttributes()
1342Assert.Equal(0, consoleappCompilation.Assembly.GetAttributes().Length)
1425Dim attrs = consoleappCompilation.Assembly.GetAttributes()
1453Assert.Equal(0, consoleappCompilation.Assembly.GetAttributes().Length)
1489TestDuplicateAssemblyAttributesNotEmitted(consoleappCompilation.Assembly,
1494TestDuplicateAssemblyAttributesNotEmitted(consoleappCompilation.Assembly,
1499Dim attrs = consoleappCompilation.Assembly.GetAttributes()
1542TestDuplicateAssemblyAttributesNotEmitted(consoleappCompilation.Assembly,
1548Dim attrs = DirectCast(consoleappCompilation.Assembly, SourceAssemblySymbol).
1597Dim attrs = consoleappCompilation.Assembly.GetAttributes()
1632Dim attrs = comp.Assembly.GetAttributes()
1641attrs = comp.Assembly.GetAttributes()
1649attrs = comp.Assembly.GetAttributes()
1670TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1706TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1733TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1743TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1774TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1821TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1856TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
1895TestDuplicateAssemblyAttributesNotEmitted(comp.Assembly,
2009Dim m = DirectCast(appCompilation.Assembly.Modules(1), PEModuleSymbol)
2078Assert.Equal(3, appCompilation.Assembly.Modules.Length)
2128Assert.Equal(3, appCompilation.Assembly.Modules.Length)
2176Assert.Equal(3, appCompilation.Assembly.Modules.Length)
2225Assert.Equal(3, appCompilation.Assembly.Modules.Length)
Attributes\InternalsVisibleToAndStrongNameTests.vb (41)
82Assert.True(ByteSequenceComparer.Equals(s_publicKey, other.Assembly.Identity.PublicKey))
102Assert.True(comp.Assembly.Identity.PublicKey.IsEmpty)
112Assert.True(ByteSequenceComparer.Equals(s_publicKey, comp.Assembly.Identity.PublicKey))
132Assert.True(comp.Assembly.Identity.PublicKey.IsEmpty)
142Assert.True(ByteSequenceComparer.Equals(s_publicKey, comp.Assembly.Identity.PublicKey))
161Assert.True(ByteSequenceComparer.Equals(s_publicKey, other.Assembly.Identity.PublicKey))
180Assert.True(ByteSequenceComparer.Equals(s_publicKey, other.Assembly.Identity.PublicKey))
208Assert.True(comp.Assembly.Identity.PublicKey.IsEmpty)
218Assert.True(ByteSequenceComparer.Equals(s_publicKey, comp.Assembly.Identity.PublicKey))
237Assert.True(ByteSequenceComparer.Equals(TestResources.General.snPublicKey.AsImmutableOrNull(), other.Assembly.Identity.PublicKey))
268Assert.True(comp.Assembly.Identity.PublicKey.IsEmpty)
278Assert.True(ByteSequenceComparer.Equals(s_publicKey, comp.Assembly.Identity.PublicKey))
300Assert.True(other.Assembly.Identity.PublicKey.IsEmpty)
348Assert.True(other.Assembly.Identity.PublicKey.IsEmpty)
367Assert.True(other.Assembly.Identity.PublicKey.IsEmpty)
385Assert.True(ByteSequenceComparer.Equals(s_publicKey, c.Assembly.Identity.PublicKey))
418Assert.True(ByteSequenceComparer.Equals(s_publicKey, c.Assembly.Identity.PublicKey))
509Assert.True(other.Assembly.Identity.PublicKey.IsEmpty)
538Assert.True(other.Assembly.Identity.PublicKey.IsEmpty)
753Dim unused = requestor.Assembly.Identity
786Dim unused = requestor.Assembly.Identity
825Dim unused = requestor.Assembly.Identity
854Dim unused = requestor.Assembly.Identity
890Dim unused = requestor.Assembly.Identity
891Assert.True(DirectCast(other.Assembly, IAssemblySymbol).GivesAccessTo(requestor.Assembly))
923Dim unused = requestor.Assembly.Identity
957Dim unused = requestor.Assembly.Identity
990Assert.True(DirectCast(other.Assembly, IAssemblySymbol).GivesAccessTo(requestor.Assembly))
1021Assert.False(DirectCast(other.Assembly, IAssemblySymbol).GivesAccessTo(requestor.Assembly))
1055Assert.True(DirectCast(giver.Assembly, IAssemblySymbol).GivesAccessTo(requestor.Assembly))
1140Assert.Equal(TestResources.General.snMaxSizePublicKey, comp.Assembly.Identity.PublicKey)
1141AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp.Assembly.Identity.PublicKeyToken)
1158Assert.Equal(TestResources.General.snMaxSizePublicKey, comp2.Assembly.Identity.PublicKey)
1159AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp2.Assembly.Identity.PublicKeyToken)
1165Assert.Equal(TestResources.General.snMaxSizePublicKey, comp3.Assembly.Identity.PublicKey)
1166AssertEx.Equal(Of Byte)(pubKeyTokenBytes, comp3.Assembly.Identity.PublicKeyToken)
1991Assert.True(comp.Assembly.PublicKey.IsDefaultOrEmpty)
Emit\EditAndContinue\AssemblyReferencesTests.vb (9)
152DirectCast(lib0.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", version0)
156DirectCast(lib1.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", version1)
160DirectCast(lib2.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", version2)
195"Lib, " & lib0.Assembly.Identity.Version.ToString(),
197"Lib, " & lib0.Assembly.Identity.Version.ToString(),
199"Lib, " & lib0.Assembly.Identity.Version.ToString()
237DirectCast(lib0.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", New Version(1, 0, 2000, 1001))
241DirectCast(lib1.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", New Version(1, 0, 2000, 1002))
245DirectCast(lib2.Assembly, SourceAssemblySymbol).m_lazyIdentity = New AssemblyIdentity("Lib", New Version(1, 0, 2000, 1003))
Microsoft.CodeAnalysis.VisualBasic.ExpressionCompiler (2)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (30)
Compilation\CompilationAPITests.vb (13)
305Assert.Equal(asmname, comp.Assembly.Name)
407Assert.Null(comp.Assembly.GetTypeByMetadataName("System.Array"))
408Assert.Equal("E", comp.Assembly.GetTypeByMetadataName("A.B.C+D+E").Name)
2070Assert.Equal("?", c.Assembly.Name)
2071Assert.Equal("?", c.Assembly.Identity.Name)
2077Assert.Equal("?", c.Assembly.Name)
2078Assert.Equal("?", c.Assembly.Identity.Name)
2084Assert.Equal("ModuleAssemblyName", c.Assembly.Name)
2085Assert.Equal("ModuleAssemblyName", c.Assembly.Identity.Name)
2510Assert.Null(comp.GetMetadataReference(csComp.Assembly))
2559TestEqualityRecursive(compilation.Assembly.GlobalNamespace,
2560compilation.Assembly.GlobalNamespace,
2562Function(ns) compilation.Assembly.GetAssemblyNamespace(ns))
Microsoft.CodeAnalysis.VisualBasic.Symbol.UnitTests (30)
Microsoft.CodeAnalysis.VisualBasic.Test.Utilities (4)
Microsoft.CodeAnalysis.Workspaces (18)
Microsoft.CodeAnalysis.Workspaces.UnitTests (1)
Microsoft.Extensions.Logging.Generators (3)
Microsoft.Extensions.Options.SourceGeneration (3)
Microsoft.Gen.Logging (4)
Microsoft.Gen.Metrics (4)
Microsoft.Interop.ComInterfaceGenerator (3)
Microsoft.Interop.LibraryImportGenerator (3)
Microsoft.Interop.LibraryImportGenerator.Downlevel (3)
Microsoft.Interop.SourceGeneration (3)
Microsoft.Maui.Controls.SourceGen (2)
Microsoft.ML.InternalCodeAnalyzer (1)
Microsoft.VisualStudio.LanguageServices (11)
Mvc.Analyzers.Test (1)
Roslyn.Diagnostics.Analyzers (17)
System.Private.CoreLib.Generators (3)
System.Text.Json.SourceGeneration (3)
System.Text.RegularExpressions.Generator (3)
Test.Utilities (13)
Text.Analyzers (18)