다음을 통해 공유


Compilation.CreateAnonymousTypeSymbol 메서드

정의

오버로드

CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>)

지정된 멤버 형식, 이름 및 원본 위치가 있는 새 익명 형식 기호를 반환합니다. 익명 형식 멤버는 기본적으로 읽기 전용으로 설정됩니다. 쓰기 가능한 속성은 VB에서 지원되며 .falsememberIsReadOnly

CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)

지정된 멤버 형식, 이름, 원본 위치 및 nullable 주석이 있는 새 익명 형식 기호를 반환합니다. 익명 형식 멤버는 기본적으로 읽기 전용으로 설정됩니다. 쓰기 가능한 속성은 VB에서 지원되며 .falsememberIsReadOnly

CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

지정된 멤버 형식, 이름 및 원본 위치가 있는 새 익명 형식 기호를 반환합니다. 익명 형식 멤버는 기본적으로 읽기 전용으로 설정됩니다. 쓰기 가능한 속성은 VB에서 지원되며 .falsememberIsReadOnly

public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations = default);
public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations);
member this.CreateAnonymousTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<bool> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), Optional memberIsReadOnly As ImmutableArray(Of Boolean) = Nothing, Optional memberLocations As ImmutableArray(Of Location) = Nothing) As INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), memberIsReadOnly As ImmutableArray(Of Boolean), memberLocations As ImmutableArray(Of Location)) As INamedTypeSymbol

매개 변수

memberNames
ImmutableArray<String>
memberIsReadOnly
ImmutableArray<Boolean>
memberLocations
ImmutableArray<Location>

반환

설명

이 오버로드는 이전 버전과의 호환성을 위한 것입니다. 제거하지 마세요.

적용 대상

CreateAnonymousTypeSymbol(ImmutableArray<ITypeSymbol>, ImmutableArray<String>, ImmutableArray<Boolean>, ImmutableArray<Location>, ImmutableArray<NullableAnnotation>)

Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs
Source:
Compilation.cs

지정된 멤버 형식, 이름, 원본 위치 및 nullable 주석이 있는 새 익명 형식 기호를 반환합니다. 익명 형식 멤버는 기본적으로 읽기 전용으로 설정됩니다. 쓰기 가능한 속성은 VB에서 지원되며 .falsememberIsReadOnly

public Microsoft.CodeAnalysis.INamedTypeSymbol CreateAnonymousTypeSymbol (System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> memberTypes, System.Collections.Immutable.ImmutableArray<string> memberNames, System.Collections.Immutable.ImmutableArray<bool> memberIsReadOnly = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> memberLocations = default, System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> memberNullableAnnotations = default);
member this.CreateAnonymousTypeSymbol : System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.ITypeSymbol> * System.Collections.Immutable.ImmutableArray<string> * System.Collections.Immutable.ImmutableArray<bool> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.Location> * System.Collections.Immutable.ImmutableArray<Microsoft.CodeAnalysis.NullableAnnotation> -> Microsoft.CodeAnalysis.INamedTypeSymbol
Public Function CreateAnonymousTypeSymbol (memberTypes As ImmutableArray(Of ITypeSymbol), memberNames As ImmutableArray(Of String), Optional memberIsReadOnly As ImmutableArray(Of Boolean) = Nothing, Optional memberLocations As ImmutableArray(Of Location) = Nothing, Optional memberNullableAnnotations As ImmutableArray(Of NullableAnnotation) = Nothing) As INamedTypeSymbol

매개 변수

memberNames
ImmutableArray<String>
memberIsReadOnly
ImmutableArray<Boolean>
memberLocations
ImmutableArray<Location>
memberNullableAnnotations
ImmutableArray<NullableAnnotation>

반환

적용 대상