/// Looks up a localized string similar to Local '{0}' or its members cannot have their address taken and be used inside an anonymous method or lambda expression.
/// </summary>
...
...
@@ -7027,6 +7054,15 @@ internal class CSharpResources {
}
}
/// <summary>
/// Looks up a localized string similar to Cannot use #load after first token in file.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
usingSystem;
usingSystem.Collections.Immutable;
usingSystem.Globalization;
usingMicrosoft.CodeAnalysis.CSharp;
usingMicrosoft.CodeAnalysis.Text;
namespaceMicrosoft.CodeAnalysis.Scripting.CSharp
{
...
...
@@ -44,12 +46,12 @@ public override Compilation CreateSubmission(Script script)
scriptClassName:submissionTypeName,
usings:script.Options.Namespaces,
optimizationLevel:OptimizationLevel.Debug,// TODO
checkOverflow:false,// TODO
allowUnsafe:true,// TODO
checkOverflow:false,// TODO
allowUnsafe:true,// TODO
platform:Platform.AnyCpu,
warningLevel:4,
xmlReferenceResolver:null,// don't support XML file references in interactive (permissions & doc comment includes)
sourceReferenceResolver:SourceFileResolver.Default,// TODO