48 references to GetGuid
BuildValidator (1)
Util.cs (1)
36return metadataReader.GetGuid(mvidHandle);
Crossgen2Tasks (1)
PrepareForReadyToRunCompilation.cs (1)
162Guid mvid = mdReader.GetGuid(mdReader.GetModuleDefinition().Mvid);
Microsoft.CodeAnalysis (3)
AssemblyUtilitiesCore.cs (1)
35var fileMvid = metadataReader.GetGuid(mvidHandle);
MetadataReader\MetadataReaderExtensions.cs (1)
90return reader.GetGuid(reader.GetModuleDefinition().Mvid);
PEWriter\MetadataWriter.PortablePdb.cs (1)
1006builder.WriteGuid(metadataReader.GetGuid(moduleDefinition.Mvid));
Microsoft.CodeAnalysis.CSharp.CommandLine.UnitTests (1)
CommandLineTests.cs (1)
8932return mdReader.GetGuid(mdReader.GetModuleDefinition().Mvid);
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
Emit\CompilationEmitTests.cs (1)
677Guid mvidFromModuleDefinition = metadataReader.GetGuid(metadataReader.GetModuleDefinition().Mvid);
Microsoft.CodeAnalysis.CSharp.Emit2.UnitTests (5)
Emit\EditAndContinue\EditAndContinueTests.cs (1)
12461Assert.Empty(pdbReader.CustomDebugInformation.Select(cdi => pdbReader.GetGuid(pdbReader.GetCustomDebugInformation(cdi).Kind)));
PDB\PDBSourceLinkTests.cs (1)
96where pdbReader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.SourceLink
PDB\PortablePdbTests.cs (2)
314where pdbReader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.SourceLink 357where pdbReader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.SourceLink
PDB\TypeDefinitionDocumentTests.cs (1)
478where pdbReader.GetGuid(entry.Kind).Equals(PortableCustomDebugInfoKinds.TypeDefinitionDocuments)
Microsoft.CodeAnalysis.ExpressionEvaluator.ExpressionCompiler (3)
DkmUtilities.cs (2)
180var moduleVersionId = reader.GetGuid(moduleDef.Mvid); 181var generationId = reader.GetGuid(moduleDef.GenerationId);
PDB\MethodDebugInfo.Portable.cs (1)
434var id = reader.GetGuid(info.Kind);
Microsoft.CodeAnalysis.Features (8)
EditAndContinue\EditAndContinueMethodDebugInfoReader.cs (2)
139var id = reader.GetGuid(info.Kind); 164algorithmId = _pdbReader.GetGuid(document.HashAlgorithm);
Emit\CompilationOutputs.cs (1)
80return metadataReader.GetGuid(mvidHandle);
PdbSourceDocument\DocumentDebugInfoReader.cs (4)
47var hashAlgorithmGuid = _pdbReader.GetGuid(document.HashAlgorithm); 73if (_pdbReader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.SourceLink && !cdi.Value.IsNil) 96var guid = _pdbReader.GetGuid(cdi.Kind); 113if (_pdbReader.GetGuid(customDebugInformation.Kind) == PortableCustomDebugInfoKinds.CompilationOptions)
PdbSourceDocument\SymbolSourceDocumentFinder.cs (1)
160var guid = pdbReader.GetGuid(cdi.Kind);
Microsoft.CodeAnalysis.Features.Test.Utilities (1)
EditAndContinue\EditAndContinueWorkspaceTestBase.cs (1)
229return metadataReader.GetGuid(mvidHandle);
Microsoft.CodeAnalysis.Features.UnitTests (3)
EditAndContinue\EditAndContinueWorkspaceServiceTests.cs (3)
4520baseId = reader.GetGuid(moduleDef.BaseGenerationId); 4521generationId = reader.GetGuid(moduleDef.GenerationId); 4522mvid = reader.GetGuid(moduleDef.Mvid);
Microsoft.CodeAnalysis.Rebuild (3)
CompilationOptionsReader.cs (3)
185var hashAlgorithmGuid = PdbReader.GetGuid(document.HashAlgorithm); 201where PdbReader.GetGuid(cdi.Kind) == EmbeddedSourceGuid 431where PdbReader.GetGuid(cdi.Kind) == infoGuid
Microsoft.CodeAnalysis.Scripting (1)
Hosting\AssemblyLoader\InteractiveAssemblyLoader.cs (1)
369mvid = metadataReader.GetGuid(metadataReader.GetModuleDefinition().Mvid);
Microsoft.CodeAnalysis.Test.Utilities (10)
Metadata\EncValidation.cs (5)
20Assert.Equal(previousReader.GetGuid(previousModule.Mvid), currentReader.GetGuid(currentModule.Mvid)); 38Assert.Equal(previousReader.GetGuid(previousModule.GenerationId), currentReader.GetGuid(currentModule.BaseGenerationId)); 41Assert.NotEqual(default(Guid), currentReader.GetGuid(currentModule.GenerationId));
Metadata\MetadataReaderUtils.cs (3)
109return reader.GetGuid(reader.GetModuleDefinition().Mvid); 267where reader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.SourceLink 275where reader.GetGuid(cdi.Kind) == PortableCustomDebugInfoKinds.EmbeddedSource
PDB\DeterministicBuildCompilationTestHelpers.cs (1)
101where pdbReader.GetGuid(cdi.Kind) == infoGuid
PDB\TestMetadataReferenceInfo.cs (1)
46metadataReader.GetGuid(moduleDefinition.Mvid),
Microsoft.CodeAnalysis.Workspaces (2)
Serialization\SerializerService_Reference.cs (1)
260var guid = metadataReader.GetGuid(mvidHandle);
src\Compilers\Core\Portable\AssemblyUtilitiesCore.cs (1)
35var fileMvid = metadataReader.GetGuid(mvidHandle);
Microsoft.DotNet.Arcade.Sdk (1)
src\ExtractNgenMethodList.cs (1)
101return metadataReader.GetGuid(metadataReader.GetModuleDefinition().Mvid);
PrepareTests (1)
MinimizeUtil.cs (1)
330mvid = metadataReader.GetGuid(mvidHandle);
Roslyn.Test.PdbUtilities (1)
Reader\PdbTestUtilities.cs (1)
72var id = reader.GetGuid(info.Kind);
SemanticSearch.BuildTask (1)
GenerateFilteredReferenceAssembliesTask.cs (1)
337Debug.Assert(metadataReader.GetGuid(moduleDef.Mvid) == ReadGuid(writableStream));
System.Reflection.MetadataLoadContext (1)
System\Reflection\TypeLoading\General\Ecma\MetadataExtensions.cs (1)
31public static Guid GetGuid(this GuidHandle handle, MetadataReader reader) => reader.GetGuid(handle);