ShaderInterpreter.Converter.IsCommentedLine C# (CSharp) Method

IsCommentedLine() private static method

Checks if the current position is part of a comment (warning: only // coments are supported!)
private static IsCommentedLine ( string _Source, int _Index ) : bool
_Source string
_Index int
return bool
        private static bool IsCommentedLine( string _Source, int _Index )
        {
            int	BOLIndex = FindBOL( _Source, _Index );
            return IndexOfBetween( _Source, "//", BOLIndex, _Index ) != -1;
        }