16 references to Guid
Microsoft.CodeAnalysis.CSharp (11)
Compilation\CSharpCompilation.cs (2)
3927
var guid = Guid.Parse(checksumDirective.
Guid
.ValueText);
3945
Guid.Parse(checksumDirective.
Guid
.ValueText));
Syntax.xml.Main.Generated.cs (1)
2230
=> node.Update(VisitToken(node.HashToken), VisitToken(node.PragmaKeyword), VisitToken(node.ChecksumKeyword), VisitToken(node.File), VisitToken(node.
Guid
), VisitToken(node.Bytes), VisitToken(node.EndOfDirectiveToken), node.IsActive);
Syntax.xml.Syntax.Generated.cs (8)
16474
if (hashToken != this.HashToken || pragmaKeyword != this.PragmaKeyword || checksumKeyword != this.ChecksumKeyword || file != this.File || guid != this.
Guid
|| bytes != this.Bytes || endOfDirectiveToken != this.EndOfDirectiveToken)
16485
public new PragmaChecksumDirectiveTriviaSyntax WithHashToken(SyntaxToken hashToken) => Update(hashToken, this.PragmaKeyword, this.ChecksumKeyword, this.File, this.
Guid
, this.Bytes, this.EndOfDirectiveToken, this.IsActive);
16486
public PragmaChecksumDirectiveTriviaSyntax WithPragmaKeyword(SyntaxToken pragmaKeyword) => Update(this.HashToken, pragmaKeyword, this.ChecksumKeyword, this.File, this.
Guid
, this.Bytes, this.EndOfDirectiveToken, this.IsActive);
16487
public PragmaChecksumDirectiveTriviaSyntax WithChecksumKeyword(SyntaxToken checksumKeyword) => Update(this.HashToken, this.PragmaKeyword, checksumKeyword, this.File, this.
Guid
, this.Bytes, this.EndOfDirectiveToken, this.IsActive);
16488
public PragmaChecksumDirectiveTriviaSyntax WithFile(SyntaxToken file) => Update(this.HashToken, this.PragmaKeyword, this.ChecksumKeyword, file, this.
Guid
, this.Bytes, this.EndOfDirectiveToken, this.IsActive);
16490
public PragmaChecksumDirectiveTriviaSyntax WithBytes(SyntaxToken bytes) => Update(this.HashToken, this.PragmaKeyword, this.ChecksumKeyword, this.File, this.
Guid
, bytes, this.EndOfDirectiveToken, this.IsActive);
16492
public new PragmaChecksumDirectiveTriviaSyntax WithEndOfDirectiveToken(SyntaxToken endOfDirectiveToken) => Update(this.HashToken, this.PragmaKeyword, this.ChecksumKeyword, this.File, this.
Guid
, this.Bytes, endOfDirectiveToken, this.IsActive);
16493
public PragmaChecksumDirectiveTriviaSyntax WithIsActive(bool isActive) => Update(this.HashToken, this.PragmaKeyword, this.ChecksumKeyword, this.File, this.
Guid
, this.Bytes, this.EndOfDirectiveToken, isActive);
Microsoft.CodeAnalysis.CSharp.Syntax.UnitTests (4)
Generated\Syntax.Test.xml.Generated.cs (2)
14206
Assert.Equal(SyntaxKind.StringLiteralToken, node.
Guid
.Kind());
14210
var newNode = node.WithHashToken(node.HashToken).WithPragmaKeyword(node.PragmaKeyword).WithChecksumKeyword(node.ChecksumKeyword).WithFile(node.File).WithGuid(node.
Guid
).WithBytes(node.Bytes).WithEndOfDirectiveToken(node.EndOfDirectiveToken).WithIsActive(node.IsActive);
LexicalAndXml\PreprocessorTests.cs (2)
370
Assert.True(pcd.
Guid
.IsMissing);
373
Assert.Equal(expected.FileGuidByte[1], pcd.
Guid
.Value);
Microsoft.CodeAnalysis.CSharp.Workspaces (1)
Classification\Worker_Preprocesser.cs (1)
290
AddClassification(node.
Guid
, ClassificationTypeNames.StringLiteral);