23 references to GetOrAddGuid
Microsoft.CodeAnalysis (19)
PEWriter\MetadataWriter.cs (3)
2718
mvidHandle = metadata.
GetOrAddGuid
(mvid);
2734
encId: metadata.
GetOrAddGuid
(EncId),
2735
encBaseId: metadata.
GetOrAddGuid
(EncBaseId));
PEWriter\MetadataWriter.PortablePdb.cs (16)
148
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.PrimaryConstructorInformationBlob),
479
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.DefaultNamespace),
496
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.DynamicLocalVariables),
508
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.TupleElementNames),
596
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.AsyncMethodSteppingInformationBlob),
618
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.StateMachineHoistedLocalScopes),
768
hashAlgorithm: info.Checksum.IsDefault ? default(GuidHandle) : _debugMetadataOpt.
GetOrAddGuid
(info.ChecksumAlgorithmId),
770
language: _debugMetadataOpt.
GetOrAddGuid
(document.Language));
778
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.EmbeddedSource),
818
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.EncLocalSlotMap),
830
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.EncLambdaAndClosureMap),
842
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.EncStateMachineStateMap),
864
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.SourceLink),
934
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.CompilationOptions),
1012
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.CompilationMetadataReferences),
1029
kind: _debugMetadataOpt.
GetOrAddGuid
(PortableCustomDebugInfoKinds.TypeDefinitionDocuments),
Microsoft.CodeAnalysis.CSharp.Emit.UnitTests (1)
CodeGen\CodeGenFunctionPointersTests.cs (1)
12607
metadata.
GetOrAddGuid
(s_guid),
System.Reflection.Emit (3)
System\Reflection\Emit\ModuleBuilderImpl.cs (3)
123
mvid: _metadataBuilder.
GetOrAddGuid
(_moduleVersionId),
605
hashAlgorithm: hashAlgorithm == default ? default : _pdbBuilder.
GetOrAddGuid
(hashAlgorithm),
607
language: language == default ? default : _pdbBuilder.
GetOrAddGuid
(language));