54 references to WithPlatform
Microsoft.CodeAnalysis.Rebuild.UnitTests (1)
OptionRoundTripTests.cs (1)
52
compilationOptions: BaseVisualBasicCompilationOptions.
WithPlatform
(platform).WithModuleName("test"),
Microsoft.CodeAnalysis.VisualBasic (1)
VisualBasicCompilationOptions.vb (1)
988
Return
WithPlatform
(platform)
Microsoft.CodeAnalysis.VisualBasic.Emit.UnitTests (48)
Emit\CompilationEmitTests.vb (46)
2084
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.X86))
2088
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.X64))
2094
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.AnyCpu32BitPreferred))
2113
Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
WithPlatform
(Platform.AnyCpu))
2138
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.AnyCpu))
2174
Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
WithPlatform
(Platform.Arm))
2199
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.AnyCpu))
2235
Dim compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.DynamicallyLinkedLibrary).
WithPlatform
(Platform.X64))
2255
compilation = CreateCompilationWithMscorlib40(source, options:=New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(Platform.X64))
2343
compilation = CreateCompilationWithMscorlib40(source, options:=TestOptions.ReleaseExe.
WithPlatform
(Platform.X86))
2347
compilation = CreateCompilationWithMscorlib40(source, options:=TestOptions.ReleaseExe.
WithPlatform
(Platform.X64))
2351
compilation = CreateCompilationWithMscorlib40(source, options:=TestOptions.ReleaseDll.
WithPlatform
(Platform.X64))
3859
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
3876
TestOptions.ReleaseDll.
WithPlatform
(Platform.AnyCpu))
3882
TestOptions.ReleaseDll.
WithPlatform
(Platform.AnyCpu))
3888
TestOptions.ReleaseModule.
WithPlatform
(Platform.AnyCpu))
3894
TestOptions.ReleaseModule.
WithPlatform
(Platform.AnyCpu))
3900
TestOptions.ReleaseDll.
WithPlatform
(Platform.X86))
3909
TestOptions.ReleaseDll.
WithPlatform
(Platform.X86))
3918
TestOptions.ReleaseModule.
WithPlatform
(Platform.X86))
3927
TestOptions.ReleaseModule.
WithPlatform
(Platform.X86))
3951
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
3967
TestOptions.ReleaseDll.
WithPlatform
(Platform.AnyCpu))
3976
TestOptions.ReleaseDll.
WithPlatform
(Platform.X86))
3985
TestOptions.ReleaseModule.
WithPlatform
(Platform.X86))
4002
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.
WithPlatform
(Platform.X86))
4019
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4028
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4037
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4046
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4064
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.
WithPlatform
(Platform.X86))
4080
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4098
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.
WithPlatform
(Platform.AnyCpu))
4115
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4123
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4131
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4139
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4156
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.
WithPlatform
(Platform.AnyCpu))
4172
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4189
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4206
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4214
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
4222
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4230
TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4247
Dim refCompilation = CreateEmptyCompilationWithReferences(refSource, New MetadataReference() {}, TestOptions.ReleaseModule.
WithPlatform
(Platform.Itanium))
4263
TestOptions.ReleaseDll.
WithPlatform
(Platform.Itanium))
Emit\DeterministicTests.vb (1)
20
Dim options = If(debug, TestOptions.DebugExe, TestOptions.ReleaseExe).
WithPlatform
(platform).WithDeterministic(True)
Emit\EmitMetadata.vb (1)
973
Dim options = TestOptions.ReleaseExe.
WithPlatform
(platform)
Microsoft.CodeAnalysis.VisualBasic.Semantic.UnitTests (3)
Compilation\VisualBasicCompilationOptionsTests.vb (3)
112
TestProperty(Function(old, value) old.
WithPlatform
(value), Function(opt) opt.Platform, Platform.X64)
194
AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(CType(Int32.MaxValue, Platform)).Errors,
199
AssertTheseDiagnostics(New VisualBasicCompilationOptions(OutputKind.ConsoleApplication).
WithPlatform
(CType(Int32.MinValue, Platform)).Errors,
Microsoft.VisualStudio.LanguageServices.VisualBasic (1)
ProjectSystemShim\VisualBasicProject.OptionsProcessor.vb (1)
92
.
WithPlatform
(platform) _