4 overrides of Identity
Microsoft.CodeAnalysis.CSharp (4)
Symbols\Metadata\PE\PEAssemblySymbol.cs (1)
99
public override AssemblyIdentity
Identity
Symbols\MissingAssemblySymbol.cs (1)
60
public override AssemblyIdentity
Identity
Symbols\Retargeting\RetargetingAssemblySymbol.cs (1)
146
public override AssemblyIdentity
Identity
Symbols\Source\SourceAssemblySymbol.cs (1)
194
public override AssemblyIdentity
Identity
26 references to Identity
Microsoft.CodeAnalysis.CSharp (26)
Binder\Binder_Lookup.cs (1)
1554
diagInfo = new CSDiagnosticInfo(ErrorCode.ERR_FriendRefNotEqualToThis, unwrappedSymbol.ContainingAssembly.
Identity
.ToString(), AssemblyIdentity.PublicKeyToString(this.Compilation.Assembly.PublicKey));
Binder\HostObjectModeBinder.cs (1)
41
new object[] { name, ((MissingMetadataTypeSymbol)hostObjectType).ContainingAssembly.
Identity
},
Emitter\EditAndContinue\CSharpSymbolMatcher.cs (2)
245
var leftIdentity = left.
Identity
;
246
var rightIdentity = right.
Identity
;
Emitter\Model\AssemblyReference.cs (1)
29
public AssemblyIdentity Identity => _targetAssembly.
Identity
;
Symbols\AssemblySymbol.cs (4)
72
/// This is equivalent to <see cref="
Identity
"/>.<see cref="AssemblyIdentity.Name"/>, but may be
81
return
Identity
.Name;
90
AssemblyIdentity IAssemblySymbolInternal.Identity =>
Identity
;
1042
if (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)
251
result = potentialGiverOfAccess.
Identity
.PerformIVTCheck(this.PublicKey, key);
Symbols\MissingMetadataTypeSymbol.cs (1)
80
return new CSDiagnosticInfo(ErrorCode.ERR_NoTypeDef, this, containingAssembly.
Identity
);
Symbols\NonMissingModuleSymbol.cs (2)
99
var definitionId = dependentAssembly.
Identity
;
132
ownerAssembly.
Identity
.GetDisplayName(),
Symbols\PublicModel\AssemblySymbol.cs (2)
42
AssemblyIdentity IAssemblySymbol.Identity => UnderlyingAssemblySymbol.
Identity
;
82
AssemblyIdentity identity = UnderlyingAssemblySymbol.
Identity
;
Symbols\ReferenceManager.cs (2)
292
throw new NotSupportedException(string.Format(CodeAnalysisResources.ChangingVersionOfAssemblyReferenceIsNotAllowedDuringDebugging, identity, symbol.
Identity
.Version));
1089
: base(compilation.Assembly.
Identity
, GetReferencedAssemblies(compilation), embedInteropTypes)
Symbols\Retargeting\RetargetingModuleSymbol.cs (2)
214
referencedAssemblySymbols[i].
Identity
;
217
Debug.Assert(identityComparer.Compare(moduleReferences.Identities[i], underlyingBoundReferences[j].
Identity
) != AssemblyIdentityComparer.ComparisonResult.NotEquivalent);
Symbols\Retargeting\RetargetingSymbolTranslator.cs (1)
824
type.ErrorInfo ?? new CSDiagnosticInfo(ErrorCode.ERR_ErrorInReferencedAssembly, type.ContainingAssembly?.
Identity
.GetDisplayName() ?? string.Empty), true);
Symbols\Source\SourceAssemblySymbol.cs (2)
2112
otherAssembly.
Identity
, this.Identity);
2115
otherAssembly.
Identity
);
Symbols\SymbolDistinguisher.cs (3)
115
location0 = containingAssembly0.
Identity
.ToString();
116
location1 = containingAssembly1.
Identity
.ToString();
191
return containingAssembly.
Identity
.ToString();