Ryan Nowak
ffdf5d2827
Remove allocations from lookahead
...
This makes lookahead allocation-free, saving about 15MB in our current
benchmark.
2016-01-14 17:19:13 -08:00
Ryan Nowak
6a4a9544a1
Eliminate extra List<RazorError> copies
...
Changing to IReadOnlyList since we always want to support indexing.
Replacing ToArray() with non-linq when needed, and with a static
EmptyArray when not needed.
Eliminates 50mb of list copies.
2016-01-14 14:54:47 -08:00
Pranav K
1e997fec7e
* Cleaning up usage of CodeAnalysis.
...
* Fixing System.Reflection version.
2015-12-07 19:50:10 -08:00
Pranav K
ce39864623
Switching to use generations TFMs
2015-10-21 18:18:07 -07:00
N. Taylor Mullen
816b1f4190
Update `Lookahead` method in `Tokenizer` to maintain its existing buffer.
...
- Added tests to verify correctness.
#527
2015-09-25 16:23:42 -07:00
N. Taylor Mullen
18799d2944
Remove old VB based `Tokenizer` logic.
2015-09-23 16:33:29 -07:00
Pranav K
381c055e2f
Removing NotNullAttribute from Microsoft.AspNet.Razor
2015-09-14 11:58:28 -07:00
Doug Bunting
cef0971d3e
`throw new ArgumentNullException(...)` -> `[NotNull]`
...
- add `[NotNull]` in some `public` or `protected` callers as well
- add `[NotNull]` in `SeekableTextReader` constructors
- add `where TSymbolType : struct` to replace incorrect `null` checks
- remove `T` type parameters in changed files e.g. change to `TWriter`
- remove tests of removed code
nits:
- change `TextReaderExtensions` to consistently call other extensions as statics
- wrap some long doc comments
2015-05-06 14:21:05 -07:00
N. Taylor Mullen
e5e4a22966
Update LICENSE.txt and license header on files.
2015-05-01 13:58:52 -07:00
N. Taylor Mullen
9722319762
Refactor some pieces of Razor.
...
- String => string
- Updated RazorTemplateEngine to have better spacing.
2015-04-12 16:49:04 -07:00
Doug Bunting
3f7c75e299
Remove and sort `using`s; reacting to #320 change
...
- automated pass then restore any `using`s the compiler needs
- in a couple of cases, make `using` conditional
2015-04-07 17:08:09 -07:00
Pranav K
21d64b4ae2
MQ: Cleanup to use var
2014-10-22 15:35:43 -07:00
Andrew Peters
477141564f
Updating copyright headers
2014-05-08 23:01:26 -07:00
anpete
6c2130239f
Update file headers
2014-05-01 17:40:52 -07:00
Pranav K
63e55ce776
Updating resx strings to use tt format
2014-02-12 10:11:23 -08:00
N. Taylor Mullen
7f0878c1b8
Comment ifdefs and fix K10 functionality
2014-01-30 15:50:20 -08:00
N. Taylor Mullen
3a214ab213
ifdef all of the razor bits that are reliant on non-coreclr bits.
...
Big thing we're missing is Char.GetUnicodeCategory(...) and Thread.Yield. Tried to do my best to fill in the blanks. Ripped out VB.
2014-01-27 18:52:02 -08:00
David Fowler
ff854e3e15
Initial commit.
2014-01-11 20:12:30 -08:00