18 references to IsSourceGenerated
Microsoft.CodeAnalysis.EditorFeatures.Test.Utilities (6)
LanguageServer\AbstractLanguageServerProtocolTests.cs (1)
335if (document.IsSourceGenerated)
Workspaces\EditorTestHostDocument.cs (1)
165if (testDocument.IsSourceGenerated)
Workspaces\EditorTestWorkspace.cs (4)
161Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 171Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 181Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 191Contract.ThrowIfFalse(testDocument.IsSourceGenerated);
Microsoft.CodeAnalysis.EditorFeatures.UnitTests (1)
Diagnostics\DiagnosticDataTests.cs (1)
183Assert.True(hostDocument.IsSourceGenerated);
Microsoft.CodeAnalysis.Workspaces.Test.Utilities (10)
Workspaces\TestHostDocument.cs (3)
39if (IsSourceGenerated && _id is null) 159if (!IsSourceGenerated) 204Contract.ThrowIfTrue(IsSourceGenerated, "We shouldn't be producing a DocumentInfo for a source generated document.");
Workspaces\TestHostProject`1.cs (1)
265documents: Documents.Where(d => !d.IsSourceGenerated).Select(d => d.ToDocumentInfo()),
Workspaces\TestWorkspace`1.cs (6)
492Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 502Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 512Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 522Contract.ThrowIfTrue(testDocument.IsSourceGenerated); 532Contract.ThrowIfFalse(testDocument.IsSourceGenerated); 720if (!document.IsSourceGenerated)
Microsoft.VisualStudio.LanguageServices.CSharp.UnitTests (1)
DocumentOutline\DocumentOutlineTestsBase.cs (1)
103if (document.IsSourceGenerated)