Skip to content

Commit 1803b4d

Browse files
authored
replace msdn links (#6383)
1 parent 297aca6 commit 1803b4d

File tree

11 files changed

+45
-35
lines changed

11 files changed

+45
-35
lines changed

docs/csharp/misc/cs0765.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public partial class PartClass : IEnumerable
5656
}
5757
```
5858

59-
## See Also
60-
[Partial Classes and Methods](../../csharp/programming-guide/classes-and-structs/partial-classes-and-methods.md)
61-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
59+
## See also
60+
61+
[Partial Classes and Methods](../../csharp/programming-guide/classes-and-structs/partial-classes-and-methods.md)
62+
[Expression Trees (C#)](../programming-guide/concepts/expression-trees/index.md)

docs/csharp/misc/cs0838.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,6 @@ namespace TestNamespace
4545
}
4646
```
4747

48-
## See Also
49-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
48+
## See also
49+
50+
[Expression Trees (C#)](../programming-guide/concepts/expression-trees/index.md)

docs/csharp/misc/cs1945.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ class Test
3434
}
3535
```
3636

37-
## See Also
38-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
39-
[Statements, Expressions, and Operators](../../csharp/programming-guide/statements-expressions-operators/index.md)
37+
## See also
38+
39+
[Expression Trees (C#)](../programming-guide/concepts/expression-trees/index.md)
40+
[Statements, Expressions, and Operators](../../csharp/programming-guide/statements-expressions-operators/index.md)

docs/csharp/misc/cs1951.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,6 @@ class Test
3232
}
3333
```
3434

35-
## See Also
36-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
35+
## See also
36+
37+
[Expression Trees (C#)](../programming-guide/concepts/expression-trees/index.md)

docs/csharp/programming-guide/statements-expressions-operators/anonymous-functions.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,9 @@ An anonymous function is an "inline" statement or expression that can be used wh
2929
## C# Language Specification
3030
[!INCLUDE[CSharplangspec](~/includes/csharplangspec-md.md)]
3131

32-
## See Also
33-
[Statements, Expressions, and Operators](../../../csharp/programming-guide/statements-expressions-operators/index.md)
34-
[Lambda Expressions](../../../csharp/programming-guide/statements-expressions-operators/lambda-expressions.md)
35-
[Delegates](../../../csharp/programming-guide/delegates/index.md)
36-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
32+
## See also
33+
34+
[Statements, Expressions, and Operators](../../../csharp/programming-guide/statements-expressions-operators/index.md)
35+
[Lambda Expressions](../../../csharp/programming-guide/statements-expressions-operators/lambda-expressions.md)
36+
[Delegates](../../../csharp/programming-guide/delegates/index.md)
37+
[Expression Trees (C#)](../concepts/expression-trees/index.md)

docs/csharp/programming-guide/statements-expressions-operators/expressions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,9 @@ DoWork();
5555
## Lambda expressions
5656
Lambda expressions represent "inline methods" that have no name but can have input parameters and multiple statements. They are used extensively in LINQ to pass arguments to methods. Lambda expressions are compiled to either delegates or expression trees depending on the context in which they are used. For more information, see [Lambda Expressions](../../../csharp/programming-guide/statements-expressions-operators/lambda-expressions.md).
5757

58-
## Expression trees
59-
Expression trees enable expressions to be represented as data structures. They are used extensively by LINQ providers to translate query expressions into code that is meaningful in some other context, such as a SQL database. For more information, see [Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b).
58+
## Expression trees
59+
60+
Expression trees enable expressions to be represented as data structures. They are used extensively by LINQ providers to translate query expressions into code that is meaningful in some other context, such as a SQL database. For more information, see [Expression Trees (C#)](../concepts/expression-trees/index.md).
6061

6162
## Expression body definitions
6263

docs/csharp/programming-guide/statements-expressions-operators/how-to-use-lambda-expressions-in-a-query.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ You do not use lambda expressions directly in query syntax, but you do use them
2323
## Compiling the Code
2424
To run this code, copy and paste the method into the `StudentClass` that is provided in [How to: Query a Collection of Objects](../../../csharp/programming-guide/linq-query-expressions/how-to-query-a-collection-of-objects.md) and call it from the `Main` method.
2525

26-
## See Also
27-
[Lambda Expressions](../../../csharp/programming-guide/statements-expressions-operators/lambda-expressions.md)
28-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
26+
## See also
27+
28+
[Lambda Expressions](../../../csharp/programming-guide/statements-expressions-operators/lambda-expressions.md)
29+
[Expression Trees (C#)](../concepts/expression-trees/index.md)

docs/csharp/programming-guide/statements-expressions-operators/lambda-expressions.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ helpviewer_keywords:
1010
ms.assetid: 57e3ba27-9a82-4067-aca7-5ca446b7bf93
1111
---
1212
# Lambda Expressions (C# Programming Guide)
13-
A lambda expression is an [anonymous function](../../../csharp/programming-guide/statements-expressions-operators/anonymous-methods.md) that you can use to create [delegates](../../../csharp/programming-guide/delegates/using-delegates.md) or [expression tree](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b) types. By using lambda expressions, you can write local functions that can be passed as arguments or returned as the value of function calls. Lambda expressions are particularly helpful for writing LINQ query expressions.
13+
14+
A lambda expression is an [anonymous function](anonymous-methods.md) that you can use to create [delegates](../delegates/using-delegates.md) or [expression tree](../concepts/expression-trees/index.md) types. By using lambda expressions, you can write local functions that can be passed as arguments or returned as the value of function calls. Lambda expressions are particularly helpful for writing LINQ query expressions.
1415

15-
To create a lambda expression, you specify input parameters (if any) on the left side of the lambda operator [=>](../../../csharp/language-reference/operators/lambda-operator.md), and you put the expression or statement block on the other side. For example, the lambda expression `x => x * x` specifies a parameter that’s named `x` and returns the value of `x` squared. You can assign this expression to a delegate type, as the following example shows:
16+
To create a lambda expression, you specify input parameters (if any) on the left side of the lambda operator [=>](../../../csharp/language-reference/operators/lambda-operator.md), and you put the expression or statement block on the other side. For example, the lambda expression `x => x * x` specifies a parameter that’s named `x` and returns the value of `x` squared. You can assign this expression to a delegate type, as the following example shows:
1617

1718
```csharp
1819
delegate int del(int i);
@@ -52,8 +53,9 @@ namespace ConsoleApplication1
5253

5354
All restrictions that apply to anonymous methods also apply to lambda expressions. For more information, see [Anonymous Methods](../../../csharp/programming-guide/statements-expressions-operators/anonymous-methods.md).
5455

55-
## Expression Lambdas
56-
A lambda expression with an expression on the right side of the => operator is called an *expression lambda*. Expression lambdas are used extensively in the construction of [Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b). An expression lambda returns the result of the expression and takes the following basic form:
56+
## Expression Lambdas
57+
58+
A lambda expression with an expression on the right side of the => operator is called an *expression lambda*. Expression lambdas are used extensively in the construction of [Expression Trees](../concepts/expression-trees/index.md). An expression lambda returns the result of the expression and takes the following basic form:
5759

5860
```csharp
5961
(input-parameters) => expression

docs/visual-basic/language-reference/error-messages/cannot-convert-anonymous-type-to-expression-tree.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ End Module
4040
End Sub
4141
```
4242
43-
## See Also
44-
[Anonymous Types](../../../visual-basic/programming-guide/language-features/objects-and-classes/anonymous-types.md)
45-
[Expression Trees](http://msdn.microsoft.com/library/fb1d3ed8-d5b0-4211-a71f-dd271529294b)
46-
[How to: Use Expression Trees to Build Dynamic Queries](http://msdn.microsoft.com/library/1e37e0cc-eef3-48bb-8b69-3adabf322735)
43+
## See also
44+
45+
[Anonymous Types (Visual Basic)](../../../visual-basic/programming-guide/language-features/objects-and-classes/anonymous-types.md)
46+
[Expression Trees (Visual Basic)](../../programming-guide/concepts/expression-trees/index.md)
47+
[How to: Use Expression Trees to Build Dynamic Queries (Visual Basic)](../../programming-guide/concepts/expression-trees/how-to-use-expression-trees-to-build-dynamic-queries.md)

docs/visual-basic/misc/bc36534.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ Most expressions can be converted into expression trees, but some cannot. This e
1313

1414
**Error ID:** BC36534
1515

16-
## See Also
17-
18-
[How to: Use Expression Trees to Build Dynamic Queries](http://msdn.microsoft.com/library/1e37e0cc-eef3-48bb-8b69-3adabf322735)
16+
## See also
17+
18+
[How to: Use Expression Trees to Build Dynamic Queries (Visual Basic)](../programming-guide/concepts/expression-trees/how-to-use-expression-trees-to-build-dynamic-queries.md)

0 commit comments

Comments
 (0)