42 references to CultureName
Microsoft.CodeAnalysis (16)
Desktop\DesktopAssemblyIdentityComparer.cs (3)
203return identity.CultureName.Length != 0 235identity.CultureName, 297identity.CultureName,
MetadataReference\AssemblyIdentity.cs (2)
480AssemblyIdentityComparer.CultureComparer.Equals(x.CultureName, y.CultureName) &&
MetadataReference\AssemblyIdentity.DisplayName.cs (1)
190/// The default culture is neutral (<see cref="CultureName"/> is <see cref="String.Empty"/>.
MetadataReference\AssemblyIdentityComparer.cs (4)
143if (compareCulture && !CultureComparer.Equals(reference.CultureName, definition.CultureName)) 161if (compareCulture && !CultureComparer.Equals(reference.CultureName, definition.CultureName))
PEWriter\MetadataWriter.cs (4)
1964culture: metadata.GetOrAddString(identity.CultureName), 1994culture: metadata.GetOrAddString(sourceAssembly.Identity.CultureName)); 3703if (!string.IsNullOrEmpty(identity.CultureName)) 3705sb.AppendFormat(CultureInfo.InvariantCulture, ", Culture={0}", identity.CultureName);
ReferenceManager\CommonReferenceManager.Resolution.cs (2)
1036AssemblyIdentityComparer.CultureComparer.Equals(reference.CultureName, definition.CultureName) &&
Microsoft.CodeAnalysis.CSharp (6)
Emitter\Model\PEModuleBuilder.cs (4)
179!string.IsNullOrEmpty(refIdentity.CultureName) && 180!string.Equals(refIdentity.CultureName, asmIdentity.CultureName, StringComparison.OrdinalIgnoreCase)) 182diagnostics.Add(new CSDiagnosticInfo(ErrorCode.WRN_RefCultureMismatch, assembly, refIdentity.CultureName), NoLocation.Singleton);
Symbols\ReferenceManager.cs (2)
122return AssemblyIdentityComparer.CultureComparer.Equals(identity1.CultureName, identity2.CultureName);
Microsoft.CodeAnalysis.CSharp.Emit3.UnitTests (1)
Attributes\AttributeTests_Assembly.cs (1)
299Assert.Equal("pt-BR", (other.Assembly.Identity.CultureName));
Microsoft.CodeAnalysis.UnitTests (14)
MetadataReferences\AssemblyIdentityExtensions.cs (2)
21/// <exception cref="System.Globalization.CultureNotFoundException">The culture specified in <see cref="AssemblyIdentity.CultureName"/> is not available on the current platform.</exception> 29result.CultureInfo = CultureInfo.GetCultureInfo(identity.CultureName);
MetadataReferences\AssemblyIdentityTests.cs (12)
137Assert.Equal("", id.CultureName); 147Assert.Equal("", id.CultureName); 158Assert.Equal("", id.CultureName); 169Assert.Equal("", id.CultureName); 180Assert.Equal("", id.CultureName); 191Assert.Equal("", id.CultureName); 262Assert.Equal("en-US", id.CultureName); 273Assert.Equal("", id.CultureName); 285Assert.Equal("", id.CultureName); 295Assert.Equal("blah,", id.CultureName); 299Assert.Equal("*", id.CultureName); 303Assert.Equal("", id.CultureName);
Microsoft.CodeAnalysis.VisualBasic (4)
Emit\PEModuleBuilder.vb (4)
151Not String.IsNullOrEmpty(refIdentity.CultureName) AndAlso 152Not String.Equals(refIdentity.CultureName, asmIdentity.CultureName, StringComparison.OrdinalIgnoreCase) Then 153diagnostics.Add(ErrorFactory.ErrorInfo(ERRID.WRN_RefCultureMismatch, assembly, refIdentity.CultureName), NoLocation.Singleton)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (1)
Attributes\AssemblyAttributes.vb (1)
369Assert.Equal("pt-BR", other.Assembly.Identity.CultureName)