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
26 references to Identity
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Lookup.cs (1)
1554diagInfo = 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)
245var leftIdentity = left.Identity; 246var rightIdentity = right.Identity;
Emitter\Model\AssemblyReference.cs (1)
29public AssemblyIdentity Identity => _targetAssembly.Identity;
Symbols\AssemblySymbol.cs (4)
72/// This is equivalent to <see cref="Identity"/>.<see cref="AssemblyIdentity.Name"/>, but may be 81return Identity.Name; 90AssemblyIdentity IAssemblySymbolInternal.Identity => Identity; 1042if (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\MetadataOrSourceAssemblySymbol.cs (1)
251result = 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 (2)
292throw new NotSupportedException(string.Format(CodeAnalysisResources.ChangingVersionOfAssemblyReferenceIsNotAllowedDuringDebugging, identity, symbol.Identity.Version)); 1089: 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)
2112otherAssembly.Identity, this.Identity); 2115otherAssembly.Identity);
Symbols\SymbolDistinguisher.cs (3)
115location0 = containingAssembly0.Identity.ToString(); 116location1 = containingAssembly1.Identity.ToString(); 191return containingAssembly.Identity.ToString();