40 references to GotoExpressionKind
netstandard (1)
netstandard.cs (1)
1001
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
GotoExpressionKind
))]
System.Core (1)
System.Core.cs (1)
139
[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Linq.Expressions.
GotoExpressionKind
))]
System.Linq.Expressions (38)
System\Linq\Expressions\Expression.DebuggerProxy.cs (1)
155
public
GotoExpressionKind
Kind => _node.Kind;
System\Linq\Expressions\ExpressionStringBuilder.cs (4)
689
GotoExpressionKind
.Goto => "goto",
690
GotoExpressionKind
.Break => "break",
691
GotoExpressionKind
.Continue => "continue",
692
GotoExpressionKind
.Return => "return",
System\Linq\Expressions\GotoExpression.cs (33)
38
internal GotoExpression(
GotoExpressionKind
kind, LabelTarget target, Expression? value, Type type)
72
public
GotoExpressionKind
Kind { get; }
107
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Break"/>,
112
return MakeGoto(
GotoExpressionKind
.Break, target, null, typeof(void));
121
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Break"/>,
127
return MakeGoto(
GotoExpressionKind
.Break, target, value, typeof(void));
136
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Break"/>,
142
return MakeGoto(
GotoExpressionKind
.Break, target, null, type);
153
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Break"/>,
160
return MakeGoto(
GotoExpressionKind
.Break, target, value, type);
168
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Continue"/>,
174
return MakeGoto(
GotoExpressionKind
.Continue, target, null, typeof(void));
183
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Continue"/>,
190
return MakeGoto(
GotoExpressionKind
.Continue, target, null, type);
198
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Return"/>,
204
return MakeGoto(
GotoExpressionKind
.Return, target, null, typeof(void));
213
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Return"/>,
220
return MakeGoto(
GotoExpressionKind
.Return, target, null, type);
229
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Return"/>,
235
return MakeGoto(
GotoExpressionKind
.Return, target, value, typeof(void));
246
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Return"/>,
253
return MakeGoto(
GotoExpressionKind
.Return, target, value, type);
261
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Goto"/>,
267
return MakeGoto(
GotoExpressionKind
.Goto, target, null, typeof(void));
276
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Goto"/>,
283
return MakeGoto(
GotoExpressionKind
.Goto, target, null, type);
292
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Goto"/>,
298
return MakeGoto(
GotoExpressionKind
.Goto, target, value, typeof(void));
309
/// A <see cref="GotoExpression"/> with <see cref="GotoExpression.Kind"/> equal to <see cref="
GotoExpressionKind
.Goto"/>,
316
return MakeGoto(
GotoExpressionKind
.Goto, target, value, type);
320
/// Creates a <see cref="GotoExpression"/> representing a jump of the specified <see cref="
GotoExpressionKind
"/>.
323
/// <param name="kind">The <see cref="
GotoExpressionKind
"/> of the <see cref="GotoExpression"/>.</param>
333
public static GotoExpression MakeGoto(
GotoExpressionKind
kind, LabelTarget target, Expression? value, Type type)