14 references to Id
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (14)
BadMetadataModuleException.cs (1)
13: Exception($"Unable to evaluate within module '{moduleId.DisplayName}' ({moduleId.Id}): the module metadata is invalid.")
DkmUtilities.cs (1)
90Debug.Assert(block.ModuleId.Id == module.Mvid);
MetadataBlock.cs (2)
47ModuleId.Id == other.ModuleId.Id &&
MetadataContextId.cs (1)
36MakeAssemblyReferencesKind.AllReferences => new MetadataContextId(moduleId.Id),
MetadataUtilities.cs (4)
33RoslynDebug.Assert(kind == MakeAssemblyReferencesKind.AllAssemblies || moduleId.Id != Guid.Empty); 34RoslynDebug.Assert(moduleId.Id == Guid.Empty || identityComparer != null); 144reader.GetModuleVersionIdOrThrow() == moduleId.Id) 194reader.GetModuleVersionIdOrThrow() == moduleId.Id)
MethodContextReuseConstraints.cs (5)
22Debug.Assert(moduleId.Id != Guid.Empty); 34Debug.Assert(moduleId.Id != Guid.Empty); 39return moduleId.Id == _moduleId.Id && 47return $"0x{_methodToken:x8}v{_methodVersion} from {_moduleId.Id} {_span}";