4 overrides of Identity
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
99public override AssemblyIdentity Identity
Symbols\MissingAssemblySymbol.cs (1)
60public override AssemblyIdentity Identity
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
146public override AssemblyIdentity Identity
Symbols\Source\SourceAssemblySymbol.cs (1)
194public override AssemblyIdentity Identity
29 references to Identity
Microsoft.CodeAnalysis.CSharp (29)
Binder\Binder_Lookup.cs (1)
1512diagInfo = new CSDiagnosticInfo(ErrorCode.ERR_FriendRefNotEqualToThis, unwrappedSymbol.ContainingAssembly.Identity.ToString(), AssemblyIdentity.PublicKeyToString(this.Compilation.Assembly.PublicKey));
Binder\HostObjectModeBinder.cs (1)
41new object[] { name, ((MissingMetadataTypeSymbol)hostObjectType).ContainingAssembly.Identity },
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
253var leftIdentity = left.Identity; 254var rightIdentity = right.Identity;
Emitter\Model\AssemblyReference.cs (1)
29public AssemblyIdentity Identity => _targetAssembly.Identity;
Emitter\Model\PEModuleBuilder.cs (1)
171AssemblyIdentity asmIdentity = SourceModule.ContainingAssembly.Identity;
Symbols\AssemblySymbol.cs (4)
77/// This is equivalent to <see cref="Identity"/>.<see cref="AssemblyIdentity.Name"/>, but may be 86return Identity.Name; 95AssemblyIdentity IAssemblySymbolInternal.Identity => Identity; 1074if (assemblyOpt != null && !assemblyOpt.Equals(assembly.Identity))
Symbols\Metadata\PE\MetadataDecoder.cs (1)
56: base(moduleSymbol.Module, (moduleSymbol.ContainingAssembly is PEAssemblySymbol) ? moduleSymbol.ContainingAssembly.Identity : null, SymbolFactory.Instance, moduleSymbol)
Symbols\MetadataOrSourceOrRetargetingAssemblySymbol.cs (1)
57result = potentialGiverOfAccess.Identity.PerformIVTCheck(this.PublicKey, key);
Symbols\MissingMetadataTypeSymbol.cs (1)
80return new CSDiagnosticInfo(ErrorCode.ERR_NoTypeDef, this, containingAssembly.Identity);
Symbols\NonMissingModuleSymbol.cs (2)
99var definitionId = dependentAssembly.Identity; 132ownerAssembly.Identity.GetDisplayName(),
Symbols\PublicModel\AssemblySymbol.cs (2)
42AssemblyIdentity IAssemblySymbol.Identity => UnderlyingAssemblySymbol.Identity; 82AssemblyIdentity identity = UnderlyingAssemblySymbol.Identity;
Symbols\ReferenceManager.cs (4)
256referencedAssembliesByIdentity.Add(symbol.Identity, symbol); 291throw new NotSupportedException(string.Format(CodeAnalysisResources.ChangingVersionOfAssemblyReferenceIsNotAllowedDuringDebugging, identity, symbol.Identity.Version)); 328var sourceModuleReferences = new ModuleReferences<AssemblySymbol>(referencedAssemblies.SelectAsArray(a => a.Identity), referencedAssemblies, unifiedAssemblies); 1088: base(compilation.Assembly.Identity, GetReferencedAssemblies(compilation), embedInteropTypes)
Symbols\Retargeting\RetargetingModuleSymbol.cs (2)
214referencedAssemblySymbols[i].Identity; 217Debug.Assert(identityComparer.Compare(moduleReferences.Identities[i], underlyingBoundReferences[j].Identity) != AssemblyIdentityComparer.ComparisonResult.NotEquivalent);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
824type.ErrorInfo ?? new CSDiagnosticInfo(ErrorCode.ERR_ErrorInReferencedAssembly, type.ContainingAssembly?.Identity.GetDisplayName() ?? string.Empty), true);
Symbols\Source\SourceAssemblySymbol.cs (2)
2114otherAssembly.Identity, this.Identity); 2117otherAssembly.Identity);
Symbols\SymbolDistinguisher.cs (3)
115location0 = containingAssembly0.Identity.ToString(); 116location1 = containingAssembly1.Identity.ToString(); 191return containingAssembly.Identity.ToString();