System.Linq.Expressions.Expression.SymbolDocument C# (CSharp) Method

SymbolDocument() public static method

Creates an instance of SymbolDocumentInfo.
public static SymbolDocument ( string fileName ) : SymbolDocumentInfo
fileName string A to set the equal to.
return SymbolDocumentInfo
        public static SymbolDocumentInfo SymbolDocument(string fileName)
        {
            return new SymbolDocumentInfo(fileName);
        }

Same methods

Expression::SymbolDocument ( string fileName, Guid language ) : SymbolDocumentInfo
Expression::SymbolDocument ( string fileName, Guid language, Guid languageVendor ) : SymbolDocumentInfo
Expression::SymbolDocument ( string fileName, Guid language, Guid languageVendor, Guid documentType ) : SymbolDocumentInfo

Usage Example

        public void DebugInfo_clear()
        {
            var expression =
                LinqExpression.ClearDebugInfo(
                    LinqExpression.SymbolDocument(
                        string.Empty));

            ShouldRoundrip(expression);
        }
All Usage Examples Of System.Linq.Expressions.Expression::SymbolDocument
Expression