6 instantiations of CodeLinePragma
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1629CodeLinePragma clp = new CodeLinePragma(ParentFolderPrefix + SourceFileInfo.RelativeSourceFilePath + XAML, lineNumber); 1635CodeLinePragma clp = new CodeLinePragma(ParentFolderPrefix + SourceFileInfo.RelativeSourceFilePath + XAML, lineNumber);
System.Windows.Forms.Design.Tests (4)
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (4)
16yield return new object[] { "message", new CodeLinePragma() }; 32yield return new object[] { new InvalidOperationException(), new CodeLinePragma() }; 94CodeDomSerializerException exception = new("message", new CodeLinePragma("fileName.cs", 11)); 108CodeDomSerializerException exception = new("message", new CodeLinePragma("fileName.cs", 11));
18 references to CodeLinePragma
PresentationBuildTasks (2)
MS\Internal\MarkupCompiler\MarkupCompiler.cs (2)
1629CodeLinePragma clp = new CodeLinePragma(ParentFolderPrefix + SourceFileInfo.RelativeSourceFilePath + XAML, lineNumber); 1635CodeLinePragma clp = new CodeLinePragma(ParentFolderPrefix + SourceFileInfo.RelativeSourceFilePath + XAML, lineNumber);
System (1)
src\libraries\shims\System\ref\System.cs (1)
65[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.CodeDom.CodeLinePragma))]
System.CodeDom (9)
Microsoft\CSharp\CSharpCodeGenerator.cs (1)
1091private void GenerateLinePragmaStart(CodeLinePragma e)
Microsoft\VisualBasic\VBCodeGenerator.cs (2)
1438protected override void GenerateLinePragmaStart(CodeLinePragma e) 1448protected override void GenerateLinePragmaEnd(CodeLinePragma e)
System\CodeDom\CodeNamespaceImport.cs (1)
17public CodeLinePragma LinePragma { get; set; }
System\CodeDom\CodeSnippetCompileUnit.cs (1)
23public CodeLinePragma LinePragma { get; set; }
System\CodeDom\CodeStatement.cs (1)
11public CodeLinePragma LinePragma { get; set; }
System\CodeDom\CodeTypeMember.cs (1)
27public CodeLinePragma LinePragma { get; set; }
System\CodeDom\Compiler\CodeGenerator.cs (2)
1567protected abstract void GenerateLinePragmaStart(CodeLinePragma e); 1568protected abstract void GenerateLinePragmaEnd(CodeLinePragma e);
System.Windows.Forms.Design (4)
System\ComponentModel\Design\Serialization\CodeDomSerializerBase.cs (1)
169CodeLinePragma? linePragma = statement?.LinePragma;
System\ComponentModel\Design\Serialization\CodeDomSerializerException.cs (3)
14public CodeDomSerializerException(string? message, CodeLinePragma? linePragma) : base(message) 19public CodeDomSerializerException(Exception? ex, CodeLinePragma? linePragma) : base(ex?.Message, ex) 37public CodeLinePragma? LinePragma { get; }
System.Windows.Forms.Design.Tests (2)
System\ComponentModel\Design\Serialization\CodeDomSerializerExceptionTests.cs (2)
22public void CodeDomSerializerException_Ctor_String_CodeLinePragma(string message, CodeLinePragma linePragma) 38public void CodeDomSerializerException_Ctor_Exception_CodeLinePragma(Exception innerException, CodeLinePragma linePragma)