28 references to CodeBlockType
System.Web (28)
Compilation\BaseCodeDomTreeGenerator.cs (1)
744
if (codeBlockBuilder.BlockType ==
CodeBlockType
.Code) {
Compilation\BaseTemplateCodeDomTreeGenerator.cs (5)
1293
Debug.Assert(codeBlock.BlockType ==
CodeBlockType
.DataBinding);
1484
if (codeBlockBuilder.BlockType ==
CodeBlockType
.Expression || codeBlockBuilder.BlockType ==
CodeBlockType
.EncodedExpression) {
1504
codeBlockBuilder.BlockType ==
CodeBlockType
.EncodedExpression /*encode*/);
1523
Debug.Assert(codeBlockBuilder.BlockType ==
CodeBlockType
.Code);
UI\CodeBlockBuilder.cs (4)
19
protected
CodeBlockType
_blockType;
23
internal CodeBlockBuilder(
CodeBlockType
blockType, string content, int lineNumber, int column, VirtualPath virtualPath, bool encode) {
33
internal CodeBlockBuilder(
CodeBlockType
blockType, string content, int lineNumber, int column, VirtualPath virtualPath)
47
public
CodeBlockType
BlockType {
UI\ControlBuilder.cs (5)
1347
if (codeBlockBuilder.BlockType ==
CodeBlockType
.DataBinding) {
1446
case
CodeBlockType
.Code:
1449
case
CodeBlockType
.Expression:
1452
case
CodeBlockType
.EncodedExpression:
1455
case
CodeBlockType
.DataBinding:
UI\ICodeBlockTypeAccessor.cs (1)
13
CodeBlockType
BlockType { get; }
UI\TemplateParser.cs (12)
1057
ProcessCodeBlock(match,
CodeBlockType
.Expression, text);
1063
ProcessCodeBlock(match,
CodeBlockType
.EncodedExpression, text);
1072
ProcessCodeBlock(match,
CodeBlockType
.DataBinding, text);
1089
ProcessCodeBlock(match,
CodeBlockType
.Code, text);
2489
private void ProcessCodeBlock(Match match,
CodeBlockType
blockType, string text) {
2506
if (blockType !=
CodeBlockType
.Code) {
2587
if (blockType ==
CodeBlockType
.Code)
2592
private static CodeConstructType CodeConstructTypeFromCodeBlockType(
CodeBlockType
blockType) {
2594
case
CodeBlockType
.Code:
2596
case
CodeBlockType
.Expression:
2598
case
CodeBlockType
.EncodedExpression:
2600
case
CodeBlockType
.DataBinding: